[mod_python] apache 2.0.54 and SSLUserName

Eric Jonas jonas at MIT.EDU
Tue May 24 19:49:57 EDT 2005


> Not a solution, but try a handler:
> 
> def handler(req):
>   req.add_common_vars()
>   req.content_type = "text/plain"
>   req.send_http_header()
>   for name in req.subprocess_env.keys():
>     print >> req, name, req.subprocess_env[name]
>   return apache.OK
> 
> You might find that the specific bit of information you are after is in one of
> the SSL variables which are populated into the req.subprocess_env table
> thus giving you an alternate way of finding it.


Alas, I still get:

REMOTE_PORT 33059
REMOTE_USER /C=US/ST=Massachusetts/O=Massachusetts Institute of
Technology/OU=Client CA v1/CN=Eric M Jonas/emailAddress=jonas at MIT.EDU
AUTH_TYPE Basic

Via this handler. Maybe it's a new bug introduced in apache? Sometimes I
need to be careful with debian -testing- on servers! : )
	   ...Eric


More information about the Mod_python mailing list