[Mailman-Users] Archive access Forbidden
Steff Watkins
s.watkins at nhm.ac.uk
Tue Dec 29 16:39:53 CET 2009
> -----Original Message-----
> From: mailman-users-bounces+s.watkins=nhm.ac.uk at python.org
> [mailto:mailman-users-bounces+s.watkins=nhm.ac.uk at python.org]
> On Behalf Of David Southwell
> Sent: 29 December 2009 15:04
> To: mailman-users at python.org
> Subject: [Mailman-Users] Archive access Forbidden
> with result:
> Forbidden
> You don't have permission to
> access/pipermail/bps_comps_print_announce/ on this server
>
> Attempt to view archives from Topic Section of the mailing
> list administration page using link for> Go to list archives
> also fails
>
> Extract from httpd-error.log
> [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51]
> attempt to invoke directory as script:
> /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009]
> [error] [client 62.49.197.51] Symbolic link not allowed or
> link target not accessible:
> /usr/local/mailman/archives/public/bps_comps_print_announce, referer:
> http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce
>
> Extract from httpd.conf
> ScriptAlias /mailman "/usr/local/mailman/cgi-bin"
> <Directory "/usr/local/mailman">
> Options FollowSymLinks ExecCGI
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> ScriptAlias /pipermail "/usr/local/mailman/archives/public"
> <Directory "/usr/local/mailman/archives/public">
> Options FollowSymLinks ExecCGI
> AllowOverride None
> Order allow,deny
> Allow from all
> Options Indexes MultiViews
> AddDefaultCharset Off
> </Directory>
Hi,
I'm guessing that the directory indexing mechanism of Apache is getting
confused.
The line
ScriptAlias /pipermail "/usr/local/mailman/archives/public"
tells apache that anything with a URI starting with /pipermail is a
script, so Apache will take any call to that URI as a call for an
exectuable.
Looking at my local setup I see that the only indexing material in the
'archive/public' subdirectories are the file index.html.
So you have to configure Apache to look for index.html as the indexing
mechanism within a "script only" directory. Something like:
<Directory "/usr/local/mailman/archives/public">
....
....
DirectoryIndex index.html
</Directory>
should do the trick. Don't forget to restart Apache after adding that
line.
HTH,
S Watkins
More information about the Mailman-Users
mailing list