[Mailman-Users] options to change URL structure?

Mark Sapiro mark at msapiro.net
Fri Apr 27 15:55:23 CEST 2012

David wrote:
>I did not know what to do with these lines so I left them alone:
>Alias /mailman/archives /usr/local/cpanel/3rdparty/mailman/archives/public/
>*REMOVE* Alias /mailman/archives/
>Alias /pipermail /usr/local/cpanel/3rdparty/mailman/archives/public/
>*REMOVE* Alias /pipermail/

The above lines represent two ways of accessing public archives. With
your non-cPanel Mailman, you probably want

Alias /pipermail/ /usr/local/mailman/archives/public/

(or whatever the path is).

>I restarted apache:
>/usr/local/apache/bin/apachectl restart
>I collected all my changes in
>/usr/local/cpanel/3rdparty/mailman/Mailman/mm_cfg.py as shown below:
>from Defaults import *
>DEFAULT_EMAIL_HOST = 'subdomain.example.com'
>DEFAULT_URL_HOST = 'subdomain.example.com'

I don't know how you ordered things, but the above two lines need to
precede the add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) line.

>DEFAULT_URL_PATTERN = 'http://%s/'

Mark Sapiro <mark at msapiro.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