Nikolaus, Have two configs for mod_wsgi in different virtual hosts and use different port for the two.
================================================= Listen 9000 <VirtualHost *:9000> WSGIDaemonProcess group1 user=joe WSGIProcessGroup group1 WSGIScriptAlias /app1 /usr/local/wsgi/scripts/app1.wsgi </VirtualHost> Listen 9002 <VirtualHost *:9002> WSGIDaemonProcess group2 user=jeff WSGIProcessGroup group2 WSGIScriptAlias /app2 /usr/local/wsgi/scripts/app2.wsgi </VirtualHost> ================================================= However you will have to access them differently, http://bla:9000/app1 and http://bla:9002/app2. The other way is to have different domains, but it looks like you don't want to do that but, the setup would be very similar to what I explained above. ~Carl On Sat, Dec 4, 2010 at 2:51 PM, Nikolaus Rath <[email protected]> wrote: > Hello, > > I would like to run two WGSI applications in different process groups. > However, they should be accessible was http://bla/app1 and http://bla/app2. > > How do I configure this? > > It seems to me that > > WSGIDaemonProcess group1 user=joe > WSGIDaemonProcess group2 user=jeff > > WSGIProcessGroup group1 > WSGIScriptAlias /app1 /usr/local/wsgi/scripts/app1.wsgi > > WSGIProcessGroup group2 > WSGIScriptAlias /app2 /usr/local/wsgi/scripts/app2.wsgi > > > Is unlikely to work because one ProcessGroup directory would override > the other(?). > > > > Thanks, > Nikolaus > > -- > 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. > > -- ------------------------------------------------------------------------------- Carl J. Nobile (Software Engineer) [email protected] ------------------------------------------------------------------------------- -- 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.
