[Mailman-Users] Configuration problem - virtual domains URL
mark at msapiro.net
Mon Nov 26 02:55:32 CET 2007
Marc Perkel wrote:
>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
>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
>What I don't understand is why the double mailman and how do I fix it?
It is somewhat complicated, but the bottom line is it will work the way
you expect if you set
VIRTUAL_HOST_OVERVIEW = Off
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 at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users