[mod_python] mod_python doesn't parse python scripts

Fabiano Sidler fabianosidler at swissonline.ch
Tue May 24 09:34:04 EDT 2005

Thank you for answering that quickly!

Graham Dumpleton wrote:
> Read:
>   http://www.dscpl.com.au/projects/vampire/articles/modpython-001.html
> "PythonRequestHandler" doesn't work because it isn't a valid directive
> name.

Sorry, but doesn't work here:

    <Location /py>
	    AddHandler python-program .py
	    PythonHandler test
	    PythonDebug On

    [Tue May 24 14:53:47 2005] [notice] mod_python: (Re)importing module 'test'

Meanwhile, httpd does start without any errors, but when try stopping or
restarting it, I got the following message:

    Invalid command 'PythonHandler', perhaps mis-spelled or defined by a module
    not included in the server configuration

Strange, isn't it?


More information about the Mod_python mailing list