[mod_python] PyThreadState_Delete: tstate is still current

Graham Dumpleton grahamd at dscpl.com.au
Mon Oct 10 22:46:12 EDT 2005


Peter Sanchez wrote ..
> This is the apache config I am using (in relation to mod_python):
> 
> <Directory /home/user/public_html/modpy>
>         Options -MultiViews
>         AddHandler python-program .py
>         SetHandler python-program
>         PythonHandler mod_python.publisher
>         PythonDebug On
>         Order allow,deny
>         Allow from all
>     </Directory>

BTW, you wouldn't usually use AddHandler and SetHandler at the same
time like this. Not sure if SetHandler is going to take precedence or not.

Graham


More information about the Mod_python mailing list