[Zope] inside-out virtual hosting

Chris Withers lists at simplistix.co.uk
Fri Mar 5 05:54:01 EST 2004


Erik Myllymaki wrote:

> The last section of this page, 
> http://zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx 
> , describes what I am hoping to accomplish. I can setup p virtual 
> hosting with VHM where zope is the default and selective folders are 
> static content served by apache, but I want to do the opposite. I want 
> 90% of the site to sit in /var/www/htdocs and be served by apache and 
> just some of the content via Zope - going to www.mydomain.tld should 
> bring up the static index.html file, and only going to 
> www.mydomain.tld/Zope/* would bring up zope dynamic content.
> 
> Can anyone explain this in better detail? The article is fairly vague...

Just use an apache rewrite rule to only proxy through requests that start with 
/Zope/.

You may want to read up on VHM's in Zope and rewrite rules in APache.

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope mailing list