[Mailman-Users] mailman + apache2
Ulf Dunkel
dunkel at calamus.net
Thu May 7 10:23:32 CEST 2009
Hello Wolfgang.
> I am getting confused with configurating mailman + apache2 with
> virtual-domains.
[...]
> Any ideas? Can anyone help?
Get familiar with the entries for default and virtual hosts in your
mm_cfg.py.
Here is an example of how it might work with your virtual domains:
----- snip -----
DEFAULT_URL_HOST = 'yourdomain.tld'
DEFAULT_EMAIL_HOST = 'yourdomain.tld'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
HOME_PAGE = 'index.php'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST,DEFAULT_EMAIL_HOST)
add_virtualhost('yourdomain.tld','yourdomain.tld')
add_virtualhost('anotherdomain.tld','anotherdomain.tld')
add_virtualhost('yetanother.tld','yetanother.tld')
----- snap -----
Afterwards, you might want to run fix_url, like described here:
http://wiki.list.org/pages/viewpage.action?pageId=4030616
HTH, Ulf Dunkel
More information about the Mailman-Users
mailing list