[Zope-dev] CatalogAwareness and CopySupport, cut and paste problem

Martijn Pieters mj@digicool.com
Fri, 3 Mar 2000 21:23:21 +0100


From: "Itamar Shtull-Trauring" <itamars@ibm.net>
<SNIP>
> And what is REQUEST['SCRIPT_NAME'] anyway?

It is the path portion of the URL _before_ the Zope root. This is empty when
your Zope site sits directly at the root of your server (as when you serve
with ZServer, or rewrite / to your Zope server in Apache).

When your site hangs behind a deeper URL however, like
http://mysite.url.com/Zope, then, to use this example, SCRIPT_NAME is
'/Zope'.

Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------