This is bound to be trivial. But I can't find an answer by searching the Zope site, and the list search gave me no obvious hits. So apologies if this is a FAQ - if it is, then a pointer to the appropriate documentation would be much appreciated. I am completely new to Zope - I've just installed it on my machine to investigate it. I want to integrate the Zope site into my existing Apache 2 setup. Looking at the Zope+Apache HOWTO that I found, it seems that what I want is simply to use ProxyPass, via ProxyPass /Zope http://localhost:8080/ ProxyPassReverse /Zope http://localhost:8080/ However, when I do this, I get an Apache error "Forbidden You don't have permission to access /Zope on this server.". The Apache installation in question is an out-of-the-box binary install on Windows (I'm not an Apache expert, either...). I'm guessing that I need some sort of permission changes on the Apache side, but I don't know what. Can anyone offer any suggestions? Thanks in advance for any help, Paul.
Moore, Paul wrote at 2003-1-20 11:57 -0000:
This is bound to be trivial. But I can't find an answer by searching the Zope site, and the list search gave me no obvious hits. So apologies if this is a FAQ - if it is, then a pointer to the appropriate documentation would be much appreciated.
I am completely new to Zope - I've just installed it on my machine to investigate it. I want to integrate the Zope site into my existing Apache 2 setup. Looking at the Zope+Apache HOWTO that I found, it seems that what I want is simply to use ProxyPass, via
ProxyPass /Zope http://localhost:8080/ ProxyPassReverse /Zope http://localhost:8080/ Do not use "ProxyPass".
Use RewriteRules ("mod_rewrite") with "P" flag in Apache and VHM in Zope. Dieter
(might be a FAQ, but it's a good one) Paul, In the past I've used name-based VirtualHosts and mod_proxy (ProxyPass, ProxyPassReverse) : http://www.zope.org/Members/anser/apache_zserver/ However I recently switched from mod_proxy to mod_rewrite for speed and flexibility. Ease of use goes down a fair amount with mod_rewrite, the examples are good (better than the API page!) but don't apply well to this usage... however, the examples in this How-To for ZOPE are exactly what's needed : http://www.zope.org/Members/regebro/Zope_and_Apache/ I still use VirtualHosts with the mod_rewrite configuration, but turned ProxyRequests off - so now the server is not an open http proxy. I'm not sure that was necessary for the mod_proxy configuration, but it's not very desirable: once your server is found to be an http proxy it can receive quite a lot of (extraneous) traffic. The only difference on the ZOPE side is using VirtualHostMonster instead of SiteRoot objects. hope this helps. if you still have difficulty please ask for my Apache config and other details off-list. Grant K Rauscher 2C Productions http://www.2cpro.com/
participants (3)
-
Dieter Maurer -
Grant Rauscher -
Moore, Paul