[Zope] VirtualHostMonster, PATH_INFO and absolute_url
Itai Tavor
itai@optusnet.com.au
Wed, 24 Jan 2001 18:10:10 +1100
Hi,
I'm using VistualHostMonster in Zope 2.3b2 with this Apache virtual host:
<VirtualHost 10.0.1.21:80>
ProxyPass /
http://10.0.1.20:8080/VirtualHostBase/http/10.0.1.21:80/MySite/VirtualHostRoot/
ProxyPassReverse /
http://10.0.1.20:8080/VirtualHostBase/http/10.0.1.21:80/MySite/VirtualHostRoot/
ProxyPass /misc_ http://10.0.1.20:8080/misc_
ProxyPass /p_ http://10.0.1.20:8080/p_
</VirtualHost>
I have a couple of problems with this setup:
1. When accessing http://10.0.1.21/spam PATH_INFO is
/VirtualHostBase/http/10.0.1.21:80/MySite/VirtualHostRoot/spam, which
breaks any method that uses PATH_INFO (For example, the login form of
LoginManager). Can this be fixed somehow?
2. In this setup, if I got it right, absolute_url() for /MySite/spam
should return http://10.0.1.21/spam. But it returns
http://10.0.1.21/MySite/spam. Something's broken?
--
Itai Tavor "Je sautille, donc je suis."
C3Works itai@c3works.com - Kermit the Frog
"If you haven't got your health, you haven't got anything"