[mod_python] AttributeError: 'mp_request' object has no attribute 'ssl_var_lookup'

Graham Dumpleton graham.dumpleton at gmail.com
Wed May 14 20:47:37 EDT 2008


Your mod_python version is too old, upgrade it to 3.3.1 and you
shouldn't have the problem.

Graham

2008/5/15 Rich Fought <whatever at fsrz.net>:
> I'm migrating a functioning mod_python handler from Windows (Apache 2.0.63, Python 2.3) to
> CentOS 5.1 (Apache 2.2.3, Python 2.4) and am getting a very strange error:
>
> Mod_python error: "PythonFixupHandler myHandler"
> Traceback (most recent call last):
>  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
>    result = object(req)
>
>  File "/var/www/mypy/myHandler.py", line 16, in fixuphandler
>    ssl_client_dn = req.ssl_var_lookup('SSL_CLIENT_S_DN')
>
> AttributeError: 'mp_request' object has no attribute 'ssl_var_lookup'
>
> I've been searching all afternoon and my Google-fu has failed me.  I haven't been able to determine
> why on the CentOS platform the request object suddenly has no ssl_var_lookup attribute.
>
> Any help would be appreciated,
>
> Thanks,
> Rich
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list