Last active
December 17, 2015 13:48
-
-
Save yentsun/5619327 to your computer and use it in GitHub Desktop.
A working example of Apache Virtual Host config for a pyramid app served with mod_wsgi. Ubuntu 13.04, Apache 2.
This file contains 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 *:80> | |
ServerAdmin [email protected] | |
ServerName appname.com | |
WSGIApplicationGroup %{GLOBAL} | |
WSGIPassAuthorization On | |
WSGIDaemonProcess appname user=username group=username processes=1 threads=4 python-path=/home/username/env/lib/python2.7/site-packages | |
WSGIProcessGroup appname | |
WSGIScriptAlias / /home/username/Projects/AppName/pyramid.wsgi | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment