[mod_python] Types of handlers in 3.3?

Francisco Reyes lists at stringsutils.com
Sat Apr 14 22:41:41 EDT 2007


In the docs for 3.3 I see under the performance section:

Standard CGI:            23 requests/s
Mod_python cgihandler:  385 requests/s
Mod_python publisher:   476 requests/s
Mod_python handler:    1203 requests/s

What is the syntax to enable the "Mod_python handler"?

AddHandler mod_python .py
PythonHandler mod_python.handler
PythonDebug On

Didn't give me any errors when I did apachectl graceful but the sample 
program I tried gave an error.

I have a sample working using the publisher handler.
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On


Are "Mod_python handler" coded different from mod_python.publisher?

Is the "Mod_python handler" indicating the program itself as the handler?
I see in the documentation.

AddHandler mod_python .py
PythonHandler mptest
PythonDebug On

Where mptest is the program.



More information about the Mod_python mailing list