[Mailman-Users] mailman web interface via reverse proxy ; hostname is set properly on list pages, but not on base listinfo
mark at msapiro.net
Wed Sep 8 17:42:10 CEST 2010
Daniel Maher wrote:
>For example, via http://proxy.dom.ain/mailman/admin/list all of the
>links on the page point (properly) to
>http://proxy.dom.ain/mailman/admin/list/* as expected ; all except the
>final "Overview of all ,x.dom.ain mailing lists" link, which points to
>Likewise, on http://proxy/mailman/listinfo the header states "22.214.171.124
>Mailing Lists", and makes references to "mailing lists on 126.96.36.199", and
>to contact "mailman at 188.8.131.52" for problems.
The host portion of those URLs comes from the get_domain() function in
Mailman/Utils.py which gets it from the environment passed by Apache
to the CGI. It uses HTTP_HOST if present or SERVER_NAME if no
If you set VIRTUAL_HOST_OVERVIEW = No in mm_cfg.py, it will use
DEFAULT_URL_HOST instead which is probably what you want.
I think you can also get Apache to provide the name you want with the
ServerName and UseCanonicalName directives in httpd.conf, but setting
VIRTUAL_HOST_OVERVIEW = No is probably preferable in your case.
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