0

I need to server two Django Apps with Apache and I'm using standard procedure on serving wsgi.py using Apache.

My first Daemon Process is this:

WSGIDaemonProcess app1 user=www-data group=www-data threads=50 python-home=/usr/bin/python3.6

My second Daemon Process is this:

WSGIDaemonProcess app2 user=www-data group=www-data threads=50 python-home=/usr/bin/python3.6

I understood from trial and error that they can't have the same user and group and that If I do what I have done above, one app will function properly and the other will go down.

How could I make this work?

  • https://serverfault.com/questions/541020/wsgidaemonprocess-for-each-application-instance – iklinac Aug 12 '20 at 01:13
  • Does this answer your question? [Multiple mod\_wsgi apps on one virtual host directing to wrong app](https://stackoverflow.com/questions/6590587/multiple-mod-wsgi-apps-on-one-virtual-host-directing-to-wrong-app) – iklinac Aug 12 '20 at 01:13
  • Unfortunately, none of them worked as they suggested solutions on one single Virtualhost, whereas I have two Virtualhosts, one for each App. –  Aug 12 '20 at 13:00

0 Answers0