[mod_python] python_handler: Dispatch() returned nothing.

Greg Abbas greg at abbas.org
Thu Dec 7 14:47:07 EST 2000

Hi all,

I'm running mod_python 2.6.3 with Apache 1.3.14 on RH 6.2, and it was
working well for a while, but now I've started running into a big
problem. Help please! I've got several name-based virtual hosts (i.e.,
on the same IP address), and I want to send requests to different
handlers, because I'm running several instances of Webware/WebKit
(http://webware.sourceforge.net/). What happens is that as the server
runs, I get more and more "internal server errors". The log shows the

    python_handler: Dispatch() returned nothing.

After I restart the server, it seems to happen a little less (for a
short while). Any idea why this might be happening?

Before I set up the different host names, I was using different ports to
dispatch requests. I didn't get the above-mentioned error, but I got
other strange behavior: PythonPath didn't seem to work on a
per-VirtualHost basis. I set different paths for the different virtual
hosts, but they seemed to be executing code that was only in the other
virtual host's path. I'm not sure, but I think PythonHandler was
"bleeding over" between different virtual hosts, too. I am supposed to
be able to set these parameters differently for each VirtualHost
section, and invoke different handlers for each virtual host?


Greg Abbas
greg at abbas.org

More information about the Mod_python mailing list