mod_python on OSX/Panther (was Re: [mod_python] mod_python / mod_php4 w/apache 2)

Justin Ryan jryan at
Sun Jun 6 00:25:34 EDT 2004

Ok, wait.. That kept it from erroring on all requests, but when I try 
to access a .pt file (using PSE, of course), I get the same 

so, in my httpd.conf I have:

     <IfModule mod_python.c>
     PythonPath "sys.path + 
     PythonHandler pse.handler
     AddHandler python-program .pt

and in error_log I get:

[Sat Jun 05 23:16:30 2004] [error] make_obcallback: could not import 
ImportError: No module named mod_python.apache

I changed it to say:

PythonHandler mod_python.publisher
AddHandler python-program .py

and I stuck a file '' that just has:

def test(req, var):
	return "Variable: %s" % var

Same deal..


On Jun 4, 2004, at 11:33 PM, Justin Ryan wrote:

> Oh.  Look.  It worked! :)

More information about the Mod_python mailing list