[Mailman-Users] "Admin only" archives?

Greg Stein gstein at lyra.org
Mon Mar 29 02:51:48 CEST 1999

Greg Connor wrote:
> Here is what I ended up doing to make the archives readable by admins (I
> already had an .htaccess setup from the listproc archives).  Basically, I
> took a hint from the way the public archives were set up, and made another
> directory "/home/mailman/archives/admin/" - the idea is that when I want to
> make archives accessible to admins, I just symlink them from private to
> admin...

Ah. Interesting approach. That should work well.

> Auth was set up like you would expect for .htaccess (once you set
> AllowOverrides AuthInfo - doh!  You also need Options FollowSymlinks or
> Options SymLinksIfOwnerMatch for the above directory)

Note that .htaccess is much slower than configuring via httpd.conf. If
you have permissions to edit httpd.conf, then you should always use that
approach (IMO).

> In other words, I'm setting up apache with an alternate route to the
> archives other than through "private"...
> However your suggestion is a great one for how to shutdown the "private"
> script for certain archives and leave them open for others.   One side
> effect of that would be that if I protect the "private" script with a
> "location" section, the admin would have to type the htaccess name and
> passwd, THEN type their list-subscription name and passwd in the form that
> follows...  In the short term I think I will probably just disable the
> cgi-bin/private script entirely.

Ah. Didn't think about that :-)

But yes... my approach does allow discrimination on a per-list basis.
Your approach requires shutting down the private area (which you did).

> My big problem NOW is how to munge the list pages so that there isn't a
> link to "Click here for the archives!" (since the archives will be for the

Easy. In the admin screen, go to the "Edit HTML" section and pull up the
listinfo page template. There is a tag that says something like
<MM-Archive>. Just remove it.


Greg Stein, http://www.lyra.org/

More information about the Mailman-Users mailing list