/etc/httpd/conf.d/mailman.conf:
#
# httpd configuration settings for use with mailman.
#
ScriptAlias /mailman/ @MMDIR@/cgi-bin/
Alias /pipermail/ @VARMMDIR@/archives/public/
<Directory @VARMMDIR@/archives>
Options +FollowSymlinks
</Directory>
# Uncomment the following line, replacing
www.example.com with your server's
# name, to redirect queries to /mailman to the listinfo page (recommended).
# RedirectMatch /mailman[/]*$
http://www.example.com/mailman/listinfo
On a FC1 system I uncommented out the bottom line and set my domain
name. Then following the REDHAT install directions I created a mailing
list called "mailman". Unfortunately this seems to cause problems.
http://www.example.com/mailman/
This URL properly redirects to
http://www.example.com/mailman/listinfo
http://www.example.com/mailman/listinfo/mailman
but this URL also redirects to
http://www.example.com/mailman/listinfo
It seems that the RedirectMatch happens for any directory in the path
ending with "/mailman[/]". When I changed the rule to read:
RedirectMatch ^/mailman[/]*$
http://www.example.com/mailman/listinfo
http://www.example.com/mailman/listinfo/mailman
Then this URL works without redirecting by mistake.
Is this a good fix to add to the default /etc/httpd/conf.d/mailman.conf?
This is currently in the mailman in FC1 testing, so this should revise
that test update I think.
Warren Togami
wtogami(a)redhat.com