[Zope] Absolute url refs don't work with Apache ProxyPass

Asad Quraishi aquraishi@skyesystems.com
Thu, 16 Jan 2003 13:27:26 -0500


I have apache 2.0.43 compiled with mod_proxy configured with ProxyPass 
as follows:

<IfModule mod_proxy.c>
ProxyRequests On

<Proxy :*>
    Order deny,allow
    Deny from all
    Allow from my.domain.com
</Proxy>

</IfModule>

ProxyPass /zopesite http://my.domain.com:8080/zopesite
ProxyPassReverse /zopesite http://my.domain.com:8080/zopesite

Which gives me good results when I type http://my.domain.com/zopesite - 
apache will proxy the request for the Zserver on port 8080 to port 80. 
 However, all of the links on the /zopesite have absolute urls i.e. if I 
mouse over an object on the site (file, whatever), it shows the 
following url: http://my.domain.com:8080/zopesite/adocument and 
therefore goes to port 8080.  Is there anyway to config Zope to not use 
absolute but relative addressing?

Is there something I'm not getting?