On 19 May 2010 21:29, Jan Koprowski <[email protected]> wrote:
> One more thing :)
> I know I can set one main groups for Process but question is I can run
> WSGI from apache which smaller subset of groups (two, and more)
> Now I have few apache servers and I try to switch to one apache server
> and I hope WSGI serve this :) but if not I still stay with few apache
> servers :)

I appreciate English may not be your first language, but it is a bit
hard to follow what you are after. All I can do is offer the following
example and you will need to read documentation and experiment with
it. This assumes you are using mod_wsgi 3.X.

  WSGIDaemonProcess group1
  WSGIDaemonProcess group2
  WSGIDaemonProcess group3

  WSGIScriptAlias / /some/path/application1.wsgi process-group=group1
application-group=%{GLOBAL}
  WSGIScriptAlias /suburl1 /some/path/application2.wsgi
process-group=group2 application-group=%{GLOBAL}
  WSGIScriptAlias /suburl2 /some/path/application3.wsgi
process-group=group3 application-group=%{GLOBAL}

This creates three seperate mod_wsgi daemon process and delegates each
WSGI application to a different one of those three.

The same concept applies whether or not you are using virtual hosts
and applications may be within different virtual hosts and not with
same but at different sub URLs.

Graham

> On May 19, 1:16 pm, Graham Dumpleton <[email protected]>
> wrote:
>> On 19 May 2010 21:13, Jan Koprowski <[email protected]> wrote:
>>
>> > Hi!
>>
>> >  How set few groups for particular WSGI process? My Python
>> > application communicate with clearcase which get only first 16 groups
>> > and I must run Python App only to 16 groups but different for each
>> > tool. Is this possible?
>>
>> Post parts of Apache configuration you are using to setup mod_wsgi for
>> your applications.
>>
>> To suggest best way, need to see how you are using it and whether
>> using WSGIScriptAlias or AddHandler.
>>
>> Also, what version of mod_wsgi are you using?
>>
>> Graham
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "modwsgi" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group 
>> athttp://groups.google.com/group/modwsgi?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

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

Reply via email to