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 '/').

Martijn Pieters
| Software Engineer  mailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/

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

Reply via email to