Alain Fauconnet schrieb:
I've spent quite some time looking around for the "right" procedure to
integrate Zope and Apache.
I use mod_proxy as described in a number of places, especially:
I've followed the instructions step by step and it "mostly" works,
meaning that *some* links do not work:
- the "... folder at /..." link at the top of the main frame in ZMI
- the top-right menu (quick start, prefs, logout) in ZMI
- the ZMI link in the home (quick start) page
These links do not get rewritten to get "/zope" prepended to the
local path part, so they give an error 404.
All other links work, though, so I think that my setup is "almost"
Am I missing something? I have created the SiteRoot object in the
root (/) folder. Is this correct?
Base is "http://my-server.my-domain.com/zope"
Path is "/"
To somewhat work around this problem, I have had to add a bunch of
extra ProxyPass statements in Apache's configuration, like:
ProxyPass /manage_workspace http://my-server.my-domain.com:8080/manage_workspace
ProxyPass /manage_zmi_prefs http://my-server.my-domain.com:8080/manage_zmi_prefs
ProxyPass /zope_quick_start http://my-server.my-domain.com:8080/zope_quick_start
ProxyPass /manage http://my-server.my-domain.com:8080/manage
ProxyPass /HelpSys http://my-server.my-domain.com:8080/HelpSys
ProxyPass /Examples http://my-server.my-domain.com:8080/Examples
This is probably not the right approach, but I can't find what is wrong in my
I fear the resource you discovered is wrong and old.
Today, you have VirtualHostmonster (the "virtual_hosting" - object
you have in your Zope-Root per default) to take care of
rewriting the addresses. You only change the Rewrites to
signal the hostname you want to zope. (Virtual-Host-Monster
has hints for the format in its management interface - you
dont need to configure anything there, just read the example)
I usually dont use ProxyPass but mod_rewrite directly:
10.100.100.1:3128 is the host:port zope listens.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -