[mod_python] Try 2: python_handler: Dispatch() returned nothing

Gary Perez garyp at asti-usa.com
Thu Jul 26 12:32:01 EST 2001


Hi, all.

I've reinstalled apache, reinstalled Python (no threads), reinstalled
mod_python in hopes to clear this up. No dice. Does anyone have any suggestions?

Here's the dirt:
SuSE Linux 7.2, kernel 2.4.4, reiserfs
Apache 1.3.19 + Python 2.0 + mod_python 2.7.2

HTTPD.CONF
<Directory "/usr/local/httpd/htdocs/test">
    AddHandler python-program .py
    PythonHandler mptest
    PythonDebug On
</Directory>

The mptest.py module in "test" is the standard one from the
documentation (verified, no typos).

When I hit the URL (localhost/test/mptest.py) I get an internal server error:

ERROR LOG
[Wed Jul 18 15:58:02 2001] [notice] Apache/1.3.19 (Unix)  (SuSE/Linux)
mod_layout/1.0 mod_throttle/3.0 mod_fastcgi/2.2.2 mod_ssl/2.8.3
OpenSSL/0.9.6a PHP/4.0.4pl1 mod_perl/1.25 mod_dtcl mod_python/2.7.2
Python/2.0 configured -- resuming normal operations
[Wed Jul 18 15:58:02 2001] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jul 18 15:58:18 2001] [error] [client 192.168.100.100]
python_handler: Dispatch() returned nothing.

Thanks in advance for your help.
-Gary



More information about the Mod_python mailing list