durusmail: quixote-users: [PATCH] mod_python_handler fix (upstreamable?)
[PATCH] mod_python_handler fix (upstreamable?)
[PATCH] mod_python_handler fix (upstreamable?)
2004-08-12
2004-08-13
2004-08-13
John Belmonte (2 parts)
2004-08-13
[PATCH] mod_python_handler fix (upstreamable?)
John Belmonte
2004-08-12
Neil Schemenauer wrote:
> Can anyone who uses mod_python comment on this patch?  Is it
> appropriate to include in the 1.x series of Quixote?

I'm a little wary of anything messing with SCRIPT_NAME/PATH_INFO.  Is it
that mod_python or Apache are doing something wrong?  Perhaps Shahms can
provide some examples showing input environment, PythonOptions, and
output environment.

I've had success deriving the real script and path from REQUEST_URI,
which isn't part of CGI/1.1 per se, but seems to be common.  It is
effective even in the face of URL rewriting.  I fall back to SCRIPT_NAME
if it doesn't exist.

-John


--
http://giftfile.org/  ::  giftfile project

reply