[mod_python] install problems under Fink and OSX 10.3 Panther

Justin Ryan jryan at qutang.net
Mon Nov 15 13:37:17 EST 2004


Please explain how you've installed mod_python...

On Nov 14, 2004, at 5:14 PM, Victor Ng wrote:

> 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
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python



More information about the Mod_python mailing list