Rob wrote:

>Running 2.1.9 under Mac OS X 10.5.4, Apache 2.2.
>
>I recently set up virtual hosts using the following settings in  
>mm_cfg.py:
>
>MTA = 'Postfix'
>DEFAULT_EMAIL_HOST = 'acvr.org'
>DEFAULT_URL_HOST = 'www.acvr.org'
>VIRTUAL_HOSTS=('www.acvr.org','xserve.petrad.com')


VIRTUAL_HOSTS is not a tuple, it is a dictionary. You add entries to it
with

add_virtualhost(urlhost, emailhost)

and you remove entries by either overriding them with a subsequent
add_virtualhost() with the same urlhost or by clearing the dictionary
and starting over.

What you want instead of the above is

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('xserve.petrad.com', 'emailhost.for.this.domain')


>VIRTUAL_HOST_OVERVIEW='OFF'


Do you really want the above? It says (among other things) show all
public lists on the listinfo and admin overview regardless of the
hostname in the accessing URL.

-- 
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
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to