Hey!!! that worked out just fine.. Thank you.. On Wednesday 26 February 2003 12:41 pm, Dylan Reinhardt wrote:
First, you probably want to use ProxyPass instead of RewriteRule.
To prepare, put a Virtual Host Monster (VHM) in the root of your Zope install.
After that, go back to httpd.conf and use directives of the form:
NameVirtualHost 1.2.3.4:80 # direct IP access for /manage and other special stuff <VirtualHost 1.2.3.4:80> ServerName 1.2.3.4 ServerAlias 1.2.3.4 ProxyPass / http://localhost:8080/VirtualHostBase/http/1.2.3.4:80/VirtualHostRoot/ ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/1.2.3.4:80/VirtualHostRoot/ </VirtualHost>
# vhost access through www.spam.com <VirtualHost www.spam.com:80> ServerName www.spam.com ServerAlias spam.com *.spam.com ProxyPass / http://localhost:8080/VirtualHostBase/http/www.spam.com:80/sites/spam_com/V irtualHostRoot/ ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/www.spam.com:80/sites/spam_com/V irtualHostRoot/ </VirtualHost>
Above assumes your IP is 1.2.3.4, your domain is spam.com and that the root folder for spam.com in your Zope is /sites/spam_com.
HTH,
Dylan
At 09:59 AM 2/26/2003, G. Clifford Williams wrote:
I'm having a problem getting to the "manage" page of the zope server. My configuration is as follows.
<VirtualHost *> ServerName zope.xyz.com ServerAdmin webmaster@clave.info RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/$1 [L,P] #ProxyPass / http://localhost:8080/ #ProxyPassReverse / http://localhost:8080/ ProxyVia on </VirtualHost>
Everytime a request for zope.xyz.com comes in it get's the main page but any attempt to go to zope.xyz.com/manage/ results in errors from the client machine about not being able to connect to "localhost:8080"
It's set up this way because this machine is only accessible through port 80 So the idea is just to have Apache act as a gateway to the zope site(s) running locally on 8080.
Any help would be greatly appreciated.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )