Configuring apache to execute python scripts using mod_python handler

Kev Dwyer kevin.p.dwyer at gmail.com
Sat Feb 13 01:18:43 CET 2010


On Fri, 12 Feb 2010 13:08:59 -0400, Juan Carlos Rodriguez wrote:

Hello Juan Carlos,

You're better off raising this on the mod_python list, however...

Python is looking for a module called mptest, and cannot find it.

Have you created the mptest.py module? (It should contain the handler function 
in your item (2)).

Is it on the python path used by the webserver?  See for example the last post
at 
http://forums.devshed.com/apache-development-15/installing-python-on-apache-42184.html 
which shows how you can set up the path.

Cheers, 

Kev





More information about the Python-list mailing list