[mod_python] mod_python doesn't parse python scripts

Damjan gdamjan at mail.net.mk
Tue May 24 14:49:31 EDT 2005


> Sorry, but doesn't work here:
> 
>    <Location /py>
> 	    AddHandler python-program .py
> 	    PythonHandler test
> 	    PythonDebug On
>    </Location>
> 
>    [Tue May 24 14:53:47 2005] [notice] mod_python: (Re)importing module 
>    'test'

well, it has been told many times on this list, NEVER use 'test.py' as name
for your testing with mod_python. Python already has a package named
test, and you can never be sure which module will get loaded with that
PythonHandler directive. Usually we use mptest.py .


-- 
damjan | дамјан
This is my jabber ID --> damjan at bagra.net.mk <-- not my mail address!!!


More information about the Mod_python mailing list