Created
January 29, 2015 22:53
-
-
Save apolloclark/3f0e52c527dc169fa982 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *> | |
| WSGIApplicationGroup %{GLOBAL} | |
| # Setup Python for the App1 | |
| WSGIDaemonProcess app1 user=www-data group=www-data threads=5 | |
| WSGIScriptAlias /app1 /var/www/app1/app1.wsgi | |
| <Directory /var/www/app1> | |
| Order deny,allow | |
| Allow from all | |
| </Directory> | |
| <Location /app1> | |
| WSGIProcessGroup app1 | |
| </Location> | |
| # Setup Python for the App2 | |
| WSGIDaemonProcess app2 user=www-data group=www-data threads=5 | |
| WSGIScriptAlias /app2 /var/www/app2/app2.wsgi | |
| <Directory /var/www/app2> | |
| Order deny,allow | |
| Allow from all | |
| </Directory> | |
| <Location /app2> | |
| WSGIProcessGroup app2 | |
| </Location> | |
| </VirtualHost> |
Author
No, I need SSL enabled, it is required. I cannot change the port configuration, nor add a new domain, nor add a new sub-domain. It needs to be on a shared hosting machine, per a client's security requirements. I've create a new Issue topic on the Google Groups for mod_wsgi. I'll add another comment when the issue is publicly viewable, approved, etc.
Author
I have created an Issue here:
https://groups.google.com/forum/#!topic/modwsgi/ta87yyuD01Y
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If HTTPS only and no other requirement for VirtualHosts, then maybe do away with VirtualHost.