[Zope] PATH_INFO available?

Chris Withers chrisw@nipltd.com
Fri, 02 May 2003 16:45:35 +0100


martin f krafft wrote:
> also sprach Andy McKay <andy@agmweb.ca> [2003.05.01.1908 +0200]:
> 
>>Use AccessRules to do this. Or there is a product called Path Handler I 
>>believe from NIP that will do this for you.

This is largely redundant with the handling that Python scripts and ZPT's do...

> I tried to do that. I created a new folder /test, put a ZPT in there
> called dispatch which does nothing but show the request structure.
> Then I configured an access rule for that script in the folder, Now
> when I surf to /test/sub/dir, I get a 404. shouldn't it call
> dispatch? Or am I misunderstanding?

no, you should have:

/test/dispatch/sub/dir

cheers,

Chris