[Zope] Re: VirtualHostMonster

Evan Simpson evan@4-am.com
Wed, 11 Dec 2002 10:58:57 -0600


Tom Nixon wrote:
> I've got a Zope site running at http://www.mydomain.com:8080/
> 
> I'm trying to use url rewriting and a virtual host monster to make the
> port number transparent so the site appears to run from
> http://www.mydomain.com
> 
> What do I need to add in the mappings tab of the VHM to make this work,
> and how should I set up the url rewriter?

There was a bug in VHM's Mappings tab (now fixed in CVS) that breaks 
this, but it *would* be the following:

www.mydomain.com:8080/VirtualHostBase/http/www.mydomain.com:80/

On the other hand, if you're already rewriting/proxying to get from port 
80 to port 8080, you don't *need* the Mappings tab.  Just add the 
"/VirtualHostBase/http/www.mydomain.com:80/" to the front of the path on 
each URL you rewrite/proxy.

Cheers,

Evan @ 4-am