[Mailman-Users] How to alias the listinfo page to lists.site.com?

Geoff Shang geoff at QuiteLikely.com
Mon Nov 9 19:40:15 CET 2009


On Mon, 9 Nov 2009, John Griessen wrote:

> I have a working installation with listinfo at
>
> http://lists.metalartists.org/mailman/listinfo/
>
> I'd like to see that page when I web browse to http://lists.metalartists.org
>
> Is that easy?

Depends what you want to do.  If you only want this domain to redirect to 
the above URL and you don't care where the rest points, you can simply do 
a redirect by setting up lists.metalartists.org as a virtual host and 
putting in an alias for /

If you want all of Mailman to appear under this host, you will probably 
want to also use these aliases:

Alias /pipermail/ /var/lib/mailman/archives/public/
Alias /images/mailman/ /usr/share/images/mailman/
ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
ScriptAlias /create /usr/lib/cgi-bin/mailman/create
ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
ScriptAlias /options /usr/lib/cgi-bin/mailman/options
ScriptAlias /private /usr/lib/cgi-bin/mailman/private
ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/

Edit the above paths if your Mailman installation is somewhere different.

You'll also want to put the following in mm_cfg.py:

DEFAULT_EMAIL_HOST = 'metalartists.org'
DEFAULT_URL_HOST = 'lists.metalartists.org'
DEFAULT_URL_PATTERN = 'http://%s/'

I got this info from the apache.conf fragment that ships with the Mailman 
Debian package.

Hope this helps,
Geoff.



More information about the Mailman-Users mailing list