Nick
nick at dd.revealed.net
Tue Jun 28 12:57:23 EDT 2005
Hm... is this a bug in mod_python? The original code checking parsed_uri should have worked for that matter. Nick Ville Silventoinen wrote: > req.unparsed_uri.split(':')[0] returns just "/cgi-bin/vsi/auth/login.py". > > On Tue, 28 Jun 2005, Nick wrote: > >> If that's all you need to check, then there are SSL variables in the >> subprocess_env. Or, req.unparsed_uri.split(':')[0]. >> >> Nick >> >> Ville Silventoinen wrote: >> >>> Hi, >>> >>> has anyone used req.parsed_uri fields successfully? >>> >>> def handler(req): >>> req.content_type = "text/plain" >>> for field in req.parsed_uri: >>> req.write("%s," % str(field)) >>> return apache.OK >>> >>> shows following: >>> >>> None,None,None,None,None,None,/cgi-bin/vsi/auth/login.py,None,None,
|