[Mailman-Users] .htaccess protection of archives

Phil Ewels phil at tallphil.co.uk
Tue Feb 9 17:43:19 CET 2010


Ah, so this is what I initially thought, but the problem with that is my 
installation of Mailman - it is a central installation which serves 
lists to a whole range of different domains, so putting a .htaccess 
restriction in the archives folder would then stop access to the 
archives for all of my other websites.



Mark Sapiro wrote:
> Phil Ewels wrote:
> 
>> So everyone will be using the same login details for the .htaccess 
>> protection (it's a fairly small group of users who need to access these 
>> pages, who all trust each other and having one login for all saves a lot 
>> of hassle). So no dynamic modification needed (if I understand you 
>> correctly).
> 
> 
> Then I don't understand what "I was thinking I could get around this by
> using a script to automate a log in to the archives and then scraping
> the results back to my .htaccess protected folder." means.
> 
> Unless, maybe it means that the .htaccess only allows access by IP and
> you'd be updating that.
> 
> 
>> Users will be subscribed to a maximum of four lists, but I'd like them 
>> to be able to browse the archives of all of them. In other words, have 
>> the mailing lists behave as if they have public archive access, but 
>> behind a .htaccess wall to prevent Joe Bloggs from reading the lists.
> 
> 
> So just have public archives and put the .htaccess in either
> /path/to/mailman/archives/private/ or
> /path/to/mailman/archives/public/ - either one should do it as long as
> you have AllowOverride explicitly or implicitly on the directory.
> 


More information about the Mailman-Users mailing list