[mod_python] A question about running 2 apps with mod_python

Graham Dumpleton graham.dumpleton at gmail.com
Tue Jan 15 18:15:51 EST 2008


Have you defined NameVirtualHost directive properly. Lack of this
directive when using multiple VirtualHost definitions is normally the
cause of such mixing of site pages.

Graham

On 16/01/2008, Chris Guin <cguin at bbn.com> wrote:
> We've recently switched to using worker mpm instead of prefork, and
> things have mostly been going smoothly.  Our server is running 2
> Django applications, one of which is forum software.  Their URL
> spaces are entirely distinct, and each "Location" in httpd.conf has
> been set to use one of two different PythonInterpreters depending on
> the app it services.
>
> We've noticed that regular accesses to the forum pages will randomly
> (about 50% of the time) call up the 404 page for the other
> application.  We've noticed no similar problems in the reverse
> direction (from the other app to the forums).  Refreshing the 404
> page eventually gets us to the forum.
>
> The randomness of the error suggests to me that it has to do with
> which httpd.worker process or thread is picking up the request, but I
> can't explain what difference it would make.  Since we have switched
> to worker from prefork, I suspect this may be at fault somehow.
>
> Any insight would be tremendously appreciated!
>
> Chris Guin
>
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list