[mod_python] install problems under Fink and OSX 10.3 Panther

Victor Ng crankycoder at gmail.com
Sun Nov 14 20:14:16 EST 2004


Hi all, I'm having problems getting mod_python to run using Apache2
using Fink 0.23.2.

I have the following lines in my httpd.conf file:

   1123 <Directory /Users/victorng/Sites>
   1124     AddHandler mod_python .py
   1125     PythonHandler mod_python.publisher
   1126     PythonDebug On
   1127 </Directory>

When I try running the mptest.py I get a 500 internal server error and
the following lines show up in my Apache error log:

[Sun Nov 14 20:13:11 2004] [error] make_obcallback: could not import
mod_python.apache.\n
[Sun Nov 14 20:13:11 2004] [error] Optional hook test said: GET
/~victorng/mptest.py HTTP/1.1
[Sun Nov 14 20:13:11 2004] [error] Optional function test said: GET
/~victorng/mptest.py HTTP/1.1

I have no idea what I'm doing wrong - anyone have a tip?

vic


More information about the Mod_python mailing list