[mod_python] Can't seem to get mod_python working, please help me

Graham Dumpleton grahamd at dscpl.com.au
Sun Jan 15 17:58:01 EST 2006


I am not a Win32 person, others are and will probably give better answers,
but... what user is Apache running as. Does that user have access to the
Python runtime installation. The errors suggest it doesn't have access, or
is looking in a different location. 

Dan Eloff wrote ..
> I added this to the bottom of my conifg file, and added the load
> module statement as well.
> 
> <Directory />
>         AddHandler mod_python .py
>         PythonHandler mptest
>         PythonDebug On
> </Directory>

As a side note, specifying that everything under '/' slash should have
mod_python applied to it is probably not the best way to go. You should
consider being more specific than that and only specify the particular
directories under your document tree or elsewhere you want it to apply.

BTW, for getting mod_python working first time, you might also want
to see:

  http://www.dscpl.com.au/articles/modpython-001.html

You can also see past mailing list discussions about your make_obcallback
problem using search on mod_python site:

  http://www.google.com/search?q=windows+make_obcallback&q=site%3Awww.modpython.org

Prior suggestions may help in your case.

Graham


More information about the Mod_python mailing list