To use the handler, you need the following lines in your configuration
<Directory /some/path} SetHandler python-program PythonHandler mod_python.publisher </Directory>
This handler allows access to functions and variables within a module via URL's. For example, if you have the following module, called hello.py:
""" Publisher example """ def say(req, what="NOTHING"): return "I am saying %s" % what
http://www.mysite.com/hello.py/say would return
"I am saying NOTHING". A URL
return "I am saying hello".