24 Jan
2001
24 Jan
'01
6:02 p.m.
From: Itai Tavor <itai@optusnet.com.au>
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?
The Zope virtual hosting machinery doesn't adjust CGI variable. Applications should use URL0 or URLPATH0 instead of PATH_INFO.
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?
Yep, VirtualHostMonster has a bug, now fixed in CVS. Thanks! Cheers, Evan @ digicool & 4-am