Configuration problem - virtual domains URL

I'm trying to figure out how to do a slightly unusual configuration. Normally mailman wants to use URLs like http://www.domain.com/mailman . But what I want to do is have url's that look like http://mailman.domain.com.
So - in my config file I have:
DEFAULT_EMAIL_HOST = 'ctyme.com' DEFAULT_URL_HOST = 'ctyme.com' DEFAULT_URL_PATTERN = 'http://mailman.%s/'
Seems to work for managing the list but when I try to use /create or /listinfo instead of http://mailman.ctyme.com I get http://mailman.mailman.ctyme.com
What I don't understand is why the double mailman and how do I fix it?
Thanks in advance.

Marc Perkel wrote:
It is somewhat complicated, but the bottom line is it will work the way you expect if you set
VIRTUAL_HOST_OVERVIEW = Off
in mm_cfg.py.
In a Mailman virtual host environment (the default), the host name that is plugged into DEFAULT_URL_PATTERN is in some cases obtained from the host portion of the URL that invoked the CGI. This clearly doesn't work if DEFAULT_URL_PATTERN has more than just %s in the host portion.
If VIRTUAL_HOST_OVERVIEW = Off, the host name used is DEFAULT_URL_HOST.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Marc Perkel wrote:
It is somewhat complicated, but the bottom line is it will work the way you expect if you set
VIRTUAL_HOST_OVERVIEW = Off
in mm_cfg.py.
In a Mailman virtual host environment (the default), the host name that is plugged into DEFAULT_URL_PATTERN is in some cases obtained from the host portion of the URL that invoked the CGI. This clearly doesn't work if DEFAULT_URL_PATTERN has more than just %s in the host portion.
If VIRTUAL_HOST_OVERVIEW = Off, the host name used is DEFAULT_URL_HOST.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Marc Perkel
-
Mark Sapiro