[Zope-dev] Re: SiteAccess: virtual host monster and setServerURL issue

Evan Simpson evan@4-am.com
Tue, 10 Apr 2001 10:57:15 -0400


From: "Joseph Wayne Norton" <norton@arseed.co.jp>
> The correct virtual URL is not setup properly because the setServerURL
> method is always picking up the port #1080 (via oldhost,oldport) from
> the mod_proxy/mod_rewrite request environment even if HTTP_HOST does
> not contain a port number.

This is deliberate.  Omitting the port number means "leave it alone".  If
you want port 80 (the http default), you need to specify it.  Generated URLs
will not have ":80" in them, since it *is* the default port.

Cheers,

Evan @ digicool & 4-am