Skip to content

Instantly share code, notes, and snippets.

@miclovich
Created July 25, 2012 12:03
Show Gist options
  • Save miclovich/3175795 to your computer and use it in GitHub Desktop.
Save miclovich/3175795 to your computer and use it in GitHub Desktop.
apache
<VirtualHost *:80>
WSGIDaemonProcess site-2 python-path=/path/to/applicaiton/ user=${APACHE_RUN_USER} group=${APACHE_RUN_USER} threads=25
WSGIProcessGroup site-2
ServerName example.com
ServerAlias www.example.com
WSGIScriptAlias / /home/user/prod/applicaiton/application/wsgi.py
Alias /static/ /path/to/static/folder
<Directory /path/to/static/folder>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment