Or you follow:

http://code.google.com/p/modwsgi/wiki/VirtualEnvironments

have WSGIPythonHome be against a virgin virtual environment and then
use activate_this from the virtual environment in the WSGI script file for
each application to refer to the distinct virtual environments for each
application.

Graham



On 28 February 2013 05:48, Bill Freeman <[email protected]> wrote:

> Yes, if the mod_wsgi is new enough (>= 3.4?), the exact same python is
> used (mod_wsgi can only be built against one), and certain conditions I'm
> not qualified to state concerning when things are configured to happen at
> startup, I think).  You need to use the python-home argument to, IIRC, the
> WSGIDeamonProcessGroup directive.  (WSGIPythonHome applies globally, so
> it's no help.)  You need separate process groups for the two VEs, or course.
>
> Write me privately if you need more details, I can send you the setup
> where I got this working on a mod_wsgi 4.0 trunk check out last spring,
> when Graham added the python-home parameter for me.
>
> My personal website is just one of several WSGI apps running on one Apache
> on my linode.
>
> Bill
>
>
> On Wed, Feb 27, 2013 at 1:21 PM, Juan Antonio Ibáñez <
> [email protected]> wrote:
>
>> Hello,
>>
>>    Is is possible to configure two differrent apps using different
>> virtualenv paths under same Apache? I can see WSGIPythonHome configures the
>> whole mod_wsgi. I am using Turbogears 2.2 under python 2.6.3.
>>
>> Regards
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "modwsgi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/modwsgi?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/modwsgi?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to