From: Itai Tavor <[EMAIL PROTECTED]>
> 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


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to