[mod_python] how to use mod_python once the initial test is done

Graham Dumpleton graham.dumpleton at gmail.com
Wed May 14 17:29:23 EDT 2008

2008/5/15 David Jackson <davidj411 at gmail.com>:
>  the form.html and form.py examples at
> http://www.modpython.org/live/current/doc-html/tut-pub.html are not working
> for me.
> the mptest.py overrides them. do i need to remove the mptest directive?

Yes, else it will attempt to call in turn all handlers registered with
PythonHandler until termination conditions satisfied.


> also when i add this stanza to the httpf.conf file, does it need to be
> enclosed in the "<DIRECTORY>" directive?
>   AddHandler mod_python .py
>   PythonHandler mod_python.publisher
>   PythonDebug On

You might also look at tutorial at:



More information about the Mod_python mailing list