<!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.&nbsp; traverse_subpath is populated using the names of all subfolders that 
occur after the script file name in the URL.&nbsp; So if your URL is:&nbsp; 
http:/my.web.site/folderA/scriptA/folderB/folderC, then scriptA will receive a 
traverse_subpath variable (in REQUEST namespace) that contains ['folderB', 
'folderC'].&nbsp; Note: this will not work if there are any other scripts, DMTL 
methods etc in the URL after 'scriptA'.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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 &lt;dev101@...&gt;<BR>&nbsp;<BR>&gt;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&nbsp; 
  -&nbsp; 
  Zope@zope.org<BR>http://mail.zope.org/mailman/listinfo/zope<BR>**&nbsp;&nbsp; 
  No cross posts or HTML encoding!&nbsp; **<BR>(Related lists - 
  <BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-announce<BR>&nbsp;http://mail.zope.org/mailman/listinfo/zope-dev 
  )<BR></BLOCKQUOTE></BODY></HTML>