PSP handler is a handler that processes documents using the
PSP class in mod_python.psp
module.
To use it, simply add this to your httpd configuration:
AddHandler mod_python .psp PythonHandler mod_python.psp
For more details on the PSP syntax, see Section 4.9.
If PythonDebug
server configuration is On
, then by
appending an underscore ("_") to the end of the url you can get a
nice side-by-side listing of original PSP code and resulting Python
code generated by the psp
module. This is very useful for
debugging. You'll need to adjust your httpd configuration:
AddHandler mod_python .psp .psp_ PythonHandler mod_python.psp PythonDebug On