[Zope] Re: Apache configuration

Max M maxm at mxm.dk
Thu Jan 13 11:08:48 EST 2005


Bert_De_Ridder at peopleware.be wrote:
> I'm using Apache as a frontend to zope/plone. 
> 
> Is it possible to configure Apache as follows : 
> 
> www.domain.ext  should all go to the filesystem (static html files) 
> except www.domain.ext/plone should be handled by mod_rewrite 
>   ( RewriteRule ^/(.*) 
> http://localhost:7777/VirtualHostBase/http/www.domain.ext:80/VirtualHostRoot/$1 
> [L,P] )


This should work (untested naturally):

RewriteRule ^/plone(.*) 
http://localhost:7777/VirtualHostBase/http/www.domain.ext:80/VirtualHostRoot/_vh_plone/$1 
[L,P]

But if your plone site is in a folder called plone, you should use:

RewriteRule ^/plone(.*) 
http://localhost:7777/VirtualHostBase/http/www.domain.ext:80/plone/VirtualHostRoot/_vh_plone/$1 
[L,P]

-- 

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science



More information about the Zope mailing list