[Zope] Virtual Host Monster but wrong Root Folder returned by PARENTS[-1]

Evan Simpson evan@4-am.com
Fri, 13 Jul 2001 11:19:10 -0400


Justin Heesemann wrote:

 > So it seems that PARENTS[-1] is not pointing to the /host.com folder.


Yes, PARENTS is not virtual-host aware.  In your case I recommend either 
using PARENTS[-2], or writing a Script getSiteRoot() in your host.com 
Folder that returns "container".

Cheers,

Evan @ digicool