On Tue, Aug 08, 2000 at 12:45:02PM -0400, Evan Simpson wrote:
> From: Martijn Pieters <[EMAIL PROTECTED]>
> > I still think something else was broken, SiteAccess should (and does, as
> far
> > as I know) stay away from SCRIPT_NAME.
> 
> Yep.  Environment/CGI variables are left alone by the virtual hosting
> machinery; only Zope-specific ones are altered.
> 
> An example of a virtual hosting setup which won't work with SCRIPT_NAME:
> Apache on machine www.foo.com proxies requests for /Zope/* to machine
> z.foo.com:8080.  In this case SCRIPT_NAME is blank, and the src of an image
> on http://www.foo.com/Zope/page constructed with it would resolve to
> http://www.foo.com/image.gif, rather than http://www.foo.com/Zope/image.gif.
> This is not a contrived example -- people are doing this.
> 
> SCRIPT_NAME will work in simple cases, but BASE1 ought to work in all cases,
> and using it is a better habit to have in general.

We better file a Collector item on this then, as the current Zope Management
Interface uses it still.

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

_______________________________________________
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