hello,
I am getting confused with configurating mailman + apache2 with virtual-domains.
With the command "newlist mailman@domain.de" the list "mailman" will be build and I am getting a mail to listmaster@domain.de confirming the new established list.
Calling the mentoned link in this mail: http://domain.de/mailman/admin/mailman the result is "The requested URL /mailman/admin/mailman was not found on this server."
My second problem is: if I am creating another new list, the web-form opens at www.otherdomain.de/mailman/create. But it should bei opended at http://otherdomain.de/mailman/create, as defined in mm_cfg.py
Filling the form results to "unknown virtual host: www.otherdomain.de
Attemting again step by step, everything seems to be ok. Calling www.otherdomain.de leads to the correct apache-directory and calling http://otherdomain.de leads to the default-website.
Something remains misconfigured but I don't know why and where.
Any ideas? Can anyone help?
Regards
Wolfgang
wolfgang bock wolfgang.bock@wbock.de *************************** ;-) ********
Wolfgang Bock wrote:
I am getting confused with configurating mailman + apache2 with virtual-domains.
With the command "newlist mailman@domain.de" the list "mailman" will be build and I am getting a mail to listmaster@domain.de confirming the new established list.
Calling the mentoned link in this mail: http://domain.de/mailman/admin/mailman the result is "The requested URL /mailman/admin/mailman was not found on this server."
Do you have a Mailman ScriptAlias in httpd.conf either where it will apply to all virtual hosts or inside the VirtualHost block for this host?
My second problem is: if I am creating another new list, the web-form opens at www.otherdomain.de/mailman/create. But it should bei opended at http://otherdomain.de/mailman/create, as defined in mm_cfg.py
Either you are going to the admin overview page on which you find this link via http://www.otherdomain.de/mailman/admin or DEFAULT_URL_HOST is www.otherdomain.de.
Filling the form results to "unknown virtual host: www.otherdomain.de
Attemting again step by step, everything seems to be ok. Calling www.otherdomain.de leads to the correct apache-directory and calling http://otherdomain.de leads to the default-website.
I don't understand what you are saying here?
Something remains misconfigured but I don't know why and where.
See the FAQs at <http://wiki.list.org/x/gIA9>, <http://wiki.list.org/x/lYA9> and <http://wiki.list.org/x/mIA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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
Ulf Dunkel wrote:
HOME_PAGE = 'index.php'
FYI, while HOME_PAGE is defined in Defaults.py and has been since Mailman 1.0, it has never been referenced or used for anything.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro -
Ulf Dunkel -
Wolfgang Bock