[Zope] PATH_INFO available?

Charlie Reiman creiman@kefta.com
Thu, 1 May 2003 09:58:40 -0700


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> martin f krafft
> Sent: Thursday, May 01, 2003 9:31 AM
> To: zope users
> Subject: [Zope] PATH_INFO available?
>
>
> i'd like to realise the following:
>
>   http://server.url/people/krafft
>
> should call the DTML or ZPT script at /people and pass it the value
> krafft. in a CGI, i could do this with PATH_INFO. in Zope, the only
> way I can imagine is place a custom standard_error_template into
> /people which then does the magic, but this is an ugly hack.
>
>   http://server.url/people?user=krafft
>
> is not really acceptable...

This is typically done with a python script. Look for traverse_subpath docs.
If you are feeling brave, you can write a product and play with
__before_publishing_traverse__ or __bobo_traverse__ (probably the latter).