Re: Multiple instances using mod_python

2008-09-25 Thread Graham Dumpleton
On Sep 25, 8:29 pm, "n00m" <[EMAIL PROTECTED]> wrote: > what if to rename mod_python.so to mod_python_1.so and mod_python_2.so and > keep them both > in apache's modules and run them as if they are different beasts. You cannot do that. If you are wanting process separation then use mod_wsgi daem

Re: Multiple instances using mod_python

2008-09-25 Thread n00m
what if to rename mod_python.so to mod_python_1.so and mod_python_2.so and keep them both in apache's modules and run them as if they are different beasts. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Multiple instances using mod_python

2008-09-24 Thread Graham Dumpleton
The problem is more fundamental than that and virtual environments would not help. This is because it relates to which Python sub interpreter instance is selected and not where modules may be imported from for a specific sub interpreter instance. Graham On Sep 25, 5:12 am, "Álvaro J. Iradier" <[

Re: Multiple instances using mod_python

2008-09-24 Thread Graham Dumpleton
On Sep 25, 12:52 am, "Scott Moonen" <[EMAIL PROTECTED]> wrote: > I'm running a single instance of Apache to serve two IP addresses.  One IP > address has specific hostnames assigned in several VirtualHosts, and a > Location statement for certain hostnames to be handled by a mod_python > instance

Re: Multiple instances using mod_python

2008-09-24 Thread Álvaro J. Iradier
Take a look at this, it worked for me: https://devel.airadier.com/default/blog/modpythonvirtualenvironments Greets. On Wed, Sep 24, 2008 at 4:52 PM, Scott Moonen <[EMAIL PROTECTED]> wrote: > I'm running a single instance of Apache to serve two IP addresses. One IP > address has specific hostna

Re: Multiple instances using mod_python

2008-09-24 Thread Scott Moonen
FYI because there was some wildcarding going on, I think my ServerNames were actually duplicate in the two VirtualHost definitions (unqualified main domain name) and I was accomplishing any differentiation using ServerAlias. According to the mod_python docs < http://www.modpython.org/live/current/d

Re: Multiple instances using mod_python

2008-09-24 Thread David Durham, Jr.
> I see on this thread > > from last year that there is suspicion that Apache can at times misdirect > mod_python requests to the wrong mod_python instance. You could try mod_wsgi. -Dave

Multiple instances using mod_python

2008-09-24 Thread Scott Moonen
I'm running a single instance of Apache to serve two IP addresses. One IP address has specific hostnames assigned in several VirtualHosts, and a Location statement for certain hostnames to be handled by a mod_python instance running a Django application. The other IP address has a wildcarded Serv