[Zope-dev] Bug in Zope VersionControl

Evan Simpson evan@digicool.com
Fri, 8 Jun 2001 09:36:53 -0400


From: "Martijn Pieters" <mj@digicool.com>
> REQUEST['SCRIPT_NAME'] is the root of the Zope server. In a pure ZServer
> environment, this is '/'. In a situation where the Zope server is running
> behind another webserver, and is not at the root of that server,
> SCRIPT_NAME represents the path to the Zope server.

SCRIPT_NAME is not reliable in the presence of virtual hosting.  Use
REQUEST['BASEPATH1'] instead.

Cheers,

Evan @ digicool