[mod_python] mod_python doesn't parse python scripts

Graham Dumpleton grahamd at dscpl.com.au
Tue May 24 07:24:17 EDT 2005


Read:

   http://www.dscpl.com.au/projects/vampire/articles/modpython-001.html

"PythonRequestHandler" doesn't work because it isn't a valid directive
name.

Graham

On 24/05/2005, at 8:56 PM, Fabiano Sidler wrote:

> Hi Folks!
>
> I set up mod_python according to the documentation and also tried out
> my own configurations, but I've never got mod_python parsing my 
> scripts.
> They are sent to the client plainly, i.e. the client gets the code, not
> the result of the code.
> Furthermore, the only Handler mod_python seems to know, is 
> PythonHandler.
> When I specify any other Handler, httpd exits with the following error:
>
> Syntax error on line 7 of /etc/httpd/modules/mod_python.conf:
> Invalid command 'PythonRequestHandler', perhaps mis-spelled or defined 
> by a
> module not included in the server configuration
>
> What can I do?
> Thanks for helping...
>
> Fips
> _______________________________________________
> 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