[Mailman-Users] 'Go to list archives' Link & virtual host

Marcus Sobchak lists at localguru.de
Fri Dec 16 14:48:14 CET 2005


Hi,

Am Donnerstag, den 15.12.2005, 23:26 +0100 schrieb Marcus Sobchak:
> I've created a new list using "newlist
> listname-user at mailman.mydomain.org"
>   The admin webinterfaces point to http://mailman.mydomain.org using an
> Apache virtual host. Inside the admin webinterface all link point
> correctly to http://mailman.mydomain.org, but not the 'Go to list
> archives' Link! It points to the 
>  
>   DEFAULT_URL_HOST   = 'mydomain.org'
> 
> configuration set in /etc/mailman/mm_cfg.py. Setting it to
> 'mailman.mydomain.org' is not a solution, because I'd like to use the
> admin interface from different apache virtual hosts.

I'm not sure, but I think I found the solution myself:

/etc/mailman/mm_cfg.py:
-------------
DEFAULT_EMAIL_HOST = 'mydomain.org'
DEFAULT_URL_HOST   = 'mydomain.org'

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('mailman.mydomain.org', 'mydomain.org')
add_virtualhost('mailman.anotherdomain.org', 'anotherdomain.org')
-------------

Marcus




More information about the Mailman-Users mailing list