On Thu, Jan 09, 2014 at 04:27:57PM +0100, Peter Heitzer wrote:
> >>> On 1/7/2014 at 22:51, Mark London <m...@psfc.mit.edu> wrote: 
> > Hi - I want to hide our list of mailing lists from the public, but still 
> > make the list viewable to administrators.  Is this possible, i.e. 
> > through an htaccess file, or perhaps some other method? Thanks.
> 
> You could run a cronjob that generates an html page with the appropriate 
> links, e.g.
> <a href=$mailmanbaseurl/listinfo/$listname>$listname</a>
> and store the file on the private archive directory of a special list where 
> only the list admins
> have access to.
> If an administrator enters the url 
> $mailmanbaseurl/mailman/private/$speciallist/$infopage 
> he or she can access the info page with all lists.
> 
> This method is rather crude, but requires no change of mailman code. Access 
> control is via
> mailman's mechanism.

Ugh. In Apache, you can use Auth in a <Location> stanza:

    http://httpd.apache.org/docs/2.2/mod/mod_auth_basic.html

I've not tried it with a LocationMatch regexp, but ^/mailman/... might
work too.

-- 
"I try not to get drunk at lunchtime any earlier in the week than
 Thursday."
    -- Giles Coren
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to