[Mailman-Users] /mailman/ part of URL

Mark Sapiro msapiro at value.net
Thu Dec 22 21:58:35 CET 2005


Ronald Nissley wrote:

>What needs to be changed in httpd.conf and/or mm_cfg.py so that my lists can
>be accessed via http://lists.mydomain.tld instead of
>http://lists.mydomain.tld/mailman?
>
>The relevant part of my httpd.conf:
>
>ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/


ScriptAlias / /usr/lib/mailman/cgi-bin/



><Directory /usr/lib/mailman/cgi-bin/>
>  AllowOverride None
>  Options ExecCGI
>  Order allow,deny
>  Allow from all
></Directory>
>
>Alias /pipermail/ /var/lib/mailman/archives/public/
><Directory /var/lib/mailman/archives/public>
>  Options Indexes MultiViews FollowSymLinks
>  AllowOverride None
>  Order allow,deny
>  Allow from all
></Directory>
>
>RedirectMatch ^/mailman[/]*$
>*http://lists.mydomain.tld/mailman/listinfo*<http://lists.mydomain.tld/mailman/listinfo>


???
RedirectMatch ^[/]+$ http://lists.mydomain.tld/listinfo


You also need

DEFAULT_URL_PATTERN = 'http://%s/'

in mm_cfg.py, and then you'll need to run fix_url to update the
web_page_url attribute on existing lists. Run 'bin/fix_url.py' for
instructions.

-- 
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