[Mailman-Users] Configuring Apache for Mailman - /pipermail/ isredirecting in a way I don't like

Mark Sapiro msapiro at value.net
Mon Dec 19 20:12:00 CET 2005


Ben Ostrowsky wrote:

>I can't see the archives because Apache is redirecting requests for
>pipermail:
>
>[root at www2 httpd]# telnet lists.tblc.org 80
>Trying 64.128.136.9...
>Connected to lists.tblc.org (64.128.136.9).
>Escape character is '^]'.
>HEAD /pipermail/ipac/ HTTP/1.1
>Host: lists.tblc.org
>
>HTTP/1.1 302 Found
>Date: Mon, 19 Dec 2005 18:20:34 GMT
>Server: Apache/2.0.52 (Red Hat)
>Location: http://lists.tblc.org/mailman/listinfo
>Connection: close
>Content-Type: text/html; charset=iso-8859-1
>
>Connection closed by foreign host.
>
>
>
>These Apache directives are in play:
>
>In conf/httpd.conf:
>
><VirtualHost *:80>
>ServerName lists.tblc.org
>DocumentRoot /usr/lib/mailman/cgi-bin/


I'm not sure why you want the above. It's not necessary.


>RedirectMatch /index.html http://lists.tblc.org/mailman/listinfo


This is the redirect that is messing up your archive access. Possibly
anchoring it as in

RedirectMatch ^/index.html http://lists.tblc.org/mailman/listinfo

will do what you want.

Normally one has something like

RedirectMatch ^/mailman[/]*$ http://lists.tblc.org/mailman/listinfo

which you have in your global configuration and which redirects
http://lists.tblc.org/mailman to the listinfo page. If you want to
redirect http://lists.tbls.org/ to the listinfo page, you could try

RedirectMatch ^[/]+$ http://lists.tblc.org/mailman/listinfo

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list