[mod_python] Two mod_python applications crashing each other

Chris Jackson christopher.jackson at gmail.com
Thu Jun 16 13:32:44 EDT 2005


I have two mod_python applications running on one server and there
seems to be a resource contingency between the two causing 1 of the
two to crash.

Consider,

htdocs/app1/
htdocs/app2/

app1 has a <Directive> using SetHandler and mod_python.publisher

app2 has a <Directive> using AddHandler and mod_python.psp

When these two apps are running on the same server, ImportErrors
arrise crashing app1 with the following error:

PythonHandler mod_python.publisher: ImportError: No module named <blah>

It's as if it forgets where it resides.

<My Configuration>

Apache/2.0.52 (Unix) mod_python/3.1.3 Python/2.4 Server

</My Configuration>

Can anyone shed some light on this.

Thanks,

~= Chris =~



More information about the Mod_python mailing list