I was just working on this, and I have:

    DEFAULT_EMAIL_HOST = 'mydomain.net'
    DEFAULT_URL_HOST = 'www.mydomain.net'
    VIRTUAL_HOSTS.clear()
    add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)


And this does not work.  I'm still seeing the old internal URL:

    http://host.internal.mydomain.net/blah/blah


I'm not sure what is wrong - I searched the FAQ on this one and this 
seemed to be the right solution.

To reiterate:  our mailman server is on an internal network - the 
external website is configured to proxy http://www.ourdomain.com/mailman 
to the internal host.   The URLs showing up on the admin page (for 
example) are still reflecting the internal host name, which is incorrect 
for what we're needing.


Thanks.


Jim Tittsler wrote:

> On Jul 19, 2005, at 03:39, Forrest Aldrich wrote:
>
>> I've set up in the mm_cfg.py:
>>
>>     DEFAULT_EMAIL_HOST = 'externalhost.com'
>>     DEFAULT_URL_HOST = 'www.externalhost.com'
>>     add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
>
> You may need to add:
> VIRTUAL_HOSTS.clear()
> just before the add_virtualhost() call.
>
>> [...] Yet, still, the URLs in the resulting admin page from mailman  
>> have:
>
>
> Remember that to update URLs in existing lists, you need to run  
> ~mailman/bin/fix_url.py (It is done with bin/withlist.  Run  
> fix_url.py with no arguments for details, or check the FAQ for more  
> info on fix_url.py.)
>
>
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to