[mod_python] mod-gnutls 'SSL_SRP_USER' and ModPython

Graham Dumpleton graham.dumpleton at gmail.com
Sun Jul 27 07:09:29 EDT 2008

2008/7/27 Ambrose Andrews <ambrose-bulk at vrvl.net>:
> 2008/7/27 Graham Dumpleton <graham.dumpleton at gmail.com>:
>> Also, the traceback suggests code:
>>  os.environ.update(req.subprocess_env)
>> is being executed. Again, don't have code to hand to look at, but me
>> thinks that means you are running mod_python.cgihandler. If that is
>> the case, I would really recommend you don't as the CGI handler in
>> mod_python is quite a hack and shouldn't be used for any serious
>> stuff. These days I'd suggest you port your CGI applications to use
>> WSGI instead thereby not relying on os.environ as means of being
>> passed request information in the first place.
> the os.environ.update(req.subprocess_env) is in
> django  (core/handlers/modpython.py)
> - part of the django distribution.

Consider using mod_wsgi instead of mod_python then.


More information about the Mod_python mailing list