The WSGIProcessGroup needs to be scoped else the last takes
precedence. The WSGIApplicationGroup directive wasn't required, but
since having each in its own daemon process group you are better off
them using the main interpreter of the respective processes.
WSGIDaemonProcess app1
WSGIDaemonProcess app2
WSGIScriptAlias /app1 /path/to/driver.wsgi
<Location /app1>
WSGIProcessGroup app1
WSGIApplicationGroup %{GLOBAL}
</Location>
WSGIScriptAlias /app2 /path/to/driver.wsgi
<Location /app2>
WSGIProcessGroup app2
WSGIApplicationGroup %{GLOBAL}
</Location>
Graham
On 21 September 2011 16:19, Lisper <[email protected]> wrote:
> I would like to run multiple instances of a single wsgi application and map
> those instances to different URLs on the same virtual server. Is that
> possible? How do you do it? I tried this:
> WSGIDaemonProcess app1
> WSGIApplicationGroup app1
> WSGIProcessGroup app1
> WSGIScriptAlias /app1 /path/to/driver.wsgi
> WSGIDaemonProcess app2
> WSGIApplicationGroup app2
> WSGIProcessGroup app2
> WSGIScriptAlias /app2 /path/to/driver.wsgi
> but that didn't work. I need each URL to to map onto a single distinct
> Python process. The above (apparently) mapped both /app1 and /app2 onto the
> same process.
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/18knNcIADd4J.
> 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.