[mod_python] How to setup generic python handler

Lee E. Brown Administrator at leebrown.org
Tue Oct 5 01:05:37 EDT 2004

Mod Python come with three "prepackaged" handlers that you can use to get 
started: the Publisher handler, the PSP handler, and the CGI handler.  Go to 
the Mod Python web site and download the PDF file of the Mod Python 
documentation; you'll find examples of how to use all three.

----- Original Message ----- 
From: Elim Qiu
To: mod_python at modpython.org
Sent: Monday, October 04, 2004 10:08 PM
Subject: [mod_python] How to setup generic python handler

My apache related installation is summarized as

Apache/2.0.51 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d mod_python/3.1.3 
Python/2.3.4 PHP/4.3.9

and I get mptest.py print out 'Hello World' ok. But I don't have any 
instruction telling me how to move
forward to complete the mod_python setup. Obviously in apache's 
configuration file
httpd.conf, I have to replace the lines
        AddHandler mod_python .py
        PythonHandler mptest
        PythonDebug On
With some really useful ones. But what are they? Thanks for any helps.

More information about the Mod_python mailing list