<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>The script routine doesn't have to be located in
root. traverse_subpath is populated using the names of all subfolders that
occur after the script file name in the URL. So if your URL is:
http:/my.web.site/folderA/scriptA/folderB/folderC, then scriptA will receive a
traverse_subpath variable (in REQUEST namespace) that contains ['folderB',
'folderC']. Note: this will not work if there are any other scripts, DMTL
methods etc in the URL after 'scriptA'.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jonathan</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=javier_subervi@yahoo.com
href="mailto:javier_subervi@yahoo.com">Javier Subervi</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=zope@zope.org
href="mailto:zope@zope.org">zope@zope.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 12, 2006 1:48
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Zope] Re: Preserving
Context</DIV>
<DIV><BR></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>From: Jonathan <dev101@...><BR> <BR>>What version of zope
are you running? (I am running zope 2.9.2 on a linux box).<BR>2.7.8<BR><BR>I
didn't put it in 'root' since root isn't automatically called. I put it in a
folder called 's' which is automatically called, then I also explicitly called
it in the URL. Obviously, if the fn weren't found, Zope would have complained.
It was in fact found.<BR>TIA,<BR>Javier<BR></DIV></DIV><BR>
<HR SIZE=1>
Any questions? Get answers on any topic at <A
href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo!
Answers</A>. Try it now.
<P>
<HR>
<P></P>_______________________________________________<BR>Zope maillist
-
Zope@zope.org<BR>http://mail.zope.org/mailman/listinfo/zope<BR>**
No cross posts or HTML encoding! **<BR>(Related lists -
<BR> http://mail.zope.org/mailman/listinfo/zope-announce<BR> http://mail.zope.org/mailman/listinfo/zope-dev
)<BR></BLOCKQUOTE></BODY></HTML>