[Zope] Zope and Apache

Jan-Frode Myklebust janfrode@parallab.no
Tue, 21 Jan 2003 16:27:56 +0100


On Tue, Jan 21, 2003 at 02:28:10PM -0000, Moore, Paul wrote:


> 
> To be absolutely specific, I have an Apache installation running
> on my PC on port 80. So http://localhost/ (or http://ukdcw5163/
> or http:/123.45.67.89/ or whatever) I also have Zope on
> port 8080, and I'd like to be able to access the Zope site
> starting at http://localhost/Zope (or http://ukdcw5163/Zope or
> http:/123.45.67.89/Zope or whatever...)

Create a VirtualHostMonster in the root of your zope folder. Call it 
'VirtualHostId' (or whatever).

Add these two lines to your httpd.conf:

	RewriteEngine On
	RewriteRule ^/Zope/(.*) http://localhost:8080/VirtualHostBase/http/ukdcw5163:80/VirtualHostRoot/$1 [L,P]

and 'apachectl restart'.


   -jf