----- Original Message -----
From: "Martijn Pieters" <[EMAIL PROTECTED]>
To: "Evan Simpson" <[EMAIL PROTECTED]>
Cc: "Christian Theune" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 9:31 AM
Subject: Re: [Zope-dev] Bug in Zope VersionControl


> On Fri, Jun 08, 2001 at 09:36:53AM -0400, Evan Simpson wrote:
> > From: "Martijn Pieters" <[EMAIL PROTECTED]>
> > > 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.
>
> When we fix this problem, we indeed should use BASEPATH1. BASEPATH1 is
> also empty when in a ZServer-only situation, so we should still use
> path=(REQUEST['BASEPATH1'] or '/')

The fix is now in the 2.4 trunk.

Andreas


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

Reply via email to