[mod_python] Install Question

Jon Wynacht jwynacht at mac.com
Mon Jul 16 17:20:58 EDT 2007


Hi,

I've installed mod_python on a number of servers and haven't had any issues until now. When I go to do the sample mptest.py everything seems to run fine and then I get a 404 error. The log file output looks like this:

[Mon Jul 16 14:14:14 2007] [notice] mod_python (pid=11745, interpreter='clam'): Importing module '/web/apache2/htdocs/mptest.py'

Here's what the log output is when I start the server up:

[Mon Jul 16 13:48:21 2007] [notice] Apache/2.2.0 (Unix) DAV/2 PHP/5.2.2 mod_python/3.3.1 Python/2.4.3 mod_perl/2.0.2 Perl/v5.8.6 configured -- resuming normal operations

And finally, I can run this simple script:

def index(req):
    return "Test successful";

Perms all seem good to go....what am I missing?

Thanks in advance,

Jon


More information about the Mod_python mailing list