[Mailman-Users] Web interface with unqualified hostnames

Mark Sapiro msapiro at value.net
Thu Apr 7 06:00:13 CEST 2005


Bruce A Baumgart wrote:

>If I access the list create web page using http://machine/mailman/create, 
>list creation fails with "unknown virtual host".  It works fine if I 
>access it with http://machine.inel.gov/mailman/create.  It also looks like 
>mailman uses the hostname in the URL to build web pages.
>
>Our internal users are used to not putting the domainname in the url when 
>they access a local machine.  I have played some with virtualhost, but 
>can;t get it to do what I want.  Is there any way to get mailman to make 
>hostnames fully qualified when the machine is not accessed that way?
>
>Solaris 9
>Mailman 2.1.5
>Apache  1.1.31

If it is acceptable in your environment, the easiest thing is to do
this with an Apache rewrite rule.

If you don't have multiple, distinct virtual domains, you can put

VIRTUAL_HOST_OVERVIEW = Off

in mm_cfg.py and Mailman won't check host names.

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list