[mod_python] Questions on path_info and PSP

Adrian Holovaty modpython at holovaty.com
Tue May 4 14:15:45 EST 2004


Andrew Barilla wrote:
> [...] but when I do the following:
>
> http://localhost/test/some/parameters/and/stuff
>
> Only the /parameters/and/stuff is passed as path_info.  Is there an easy
> way to get the '/some' part as well without breaking apart the req.uri or
> req.filename values?

I've run into this same problem and haven't found an elegant solution. Check 
out this thread:

http://www.modpython.org/pipermail/mod_python/2004-January/014825.html

HTH,
Adrian


More information about the Mod_python mailing list