[Zope] RE: VirtualHostBase VHM keyword doesn't work.
hara at sunesis.com
Wed Apr 11 00:34:02 EDT 2007
are you loading the proxy modules?
here is part of the http.config file that is working for me, however with that configuration all request are going to zope. Is there a way to have part of the requests going to zope and others being served by apache?
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule rewrite_module modules/mod_rewrite.so
RewriteRule ^/(.*) \
From: zope-bounces at zope.org on behalf of Mark, Jonathan (Integic)
Sent: Tue 4/10/2007 9:23 PM
To: zope at zope.org
Subject: VirtualHostBase VHM keyword doesn't work.
Zope 2.9 says in the Virtual Host Monster About Tab: "For example, suppose Zope is running on port 8080 behind an Apache running on port 80. You place a Virtual Host Monster in the Zope root Folder, and use Apache to rewrite "/(.*)" to http://localhost:8080/VirtualHostBase/http/www.buystuff.com:80/buystuff.com/VirtualHostRoot/$1."
However, the following in my Apache 2.2 httpd file does not work:
RewriteRule /(.*) http://goodbyeken.com:8080/VirtualHostBase/http/www.goodbyeken.com:80/goodbyeken.com/VirtualHostRoot/$1
The above directive results in a Zope "resource not found" error. I have a Virtual Host Monster called myVHM in my Zope root directory. myVHM is able to do redirections that do not include the VirtualHostBase keyword.
Why doesn't the VirtualHostBase keyword work?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Zope