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 
>http://1.2.3.4/mailman/listinfo .
>
>Likewise, on http://proxy/mailman/listinfo the header states "1.2.3.4 
>Mailing Lists", and makes references to "mailing lists on 1.2.3.4", and 
>to contact "[email protected]" 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
HTTP_HOST.

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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to