mod_python error under Apache

thanos vassilakis thanos at 0x01.com
Fri Oct 6 19:59:40 EDT 2000


Had the same problem but used a directive
PythonPath.  The doc is a little out.  Still the example is not realistic,
you have to work at setting things up. At scriptfoundry.com we are developing
a clean and elegant wrapper around mod_python. It seems the only way to go.

thanos



Hamilton Link wrote:

> I should probably add that I have the following in my httpd.conf, and that
> the mptest.py file is in $APACHEDIR/htdocs/test -- I wouldn't be overly
> surprised if this is a configuration problem, I'm just not sure what to do
> to fix it (I'm trying a few things though). How am I supposed to tell it
> where to look for python files with such handlers? Am I just supposed to
> put them in the python directory structure -- that doesn't seem right
> either...
>
> AddHandler python-program .py
> PythonHandler mptest
> PythonDebug On
>
> thanks,
> hamilton




More information about the Python-list mailing list