[Zope] VirtualHost ProxyPass settings

Peter Bengtsson mail@peterbe.com
Wed, 09 Apr 2003 19:56:33 +0100


 From my httpd.conf::

<VirtualHost 80.82.139.4:80 80.82.139.11:80>
   ServerAdmin mail@peterbe.com
   ServerName it.ourdomainname.com
   ProxyRequests On
   ProxyPass / 
http://ourdomainname.com:8088/VirtualHostBase/http/it.ourdomainname.com:80/VirtualHostRoot/it/
   ProxyPassReverse / 
http://ourdomainname.com:8088/VirtualHostBase/http/it.ourdomainname.com:80/VirtualHostRoot/it/
   ProxyPass /misc_ http://ourdomainname.com:8088/misc_
   ProxyPass /p_ http://ourdomainname.com:8088/p_
   ProxyVia on
   ErrorLog /var/log/apache/it_domain_8091.error_log
</VirtualHost>


In the local zope running on port 8088 there's a folder called /it as expected.
The problem is that if you visit it.ourdomainname.com and look at what 
<dtml-var absolute_url> gives you get
http://it.ourdomainname.com/it
That last bit there shouldn't be there!! Why??


I have a VirtualHostMonster object in the root and the site works fine if 
you just go via http://ourdomainname.com:8088/it


Any ideas why I get this extra path?

Peter