Created
April 2, 2010 15:31
-
-
Save jgumbley/353266 to your computer and use it in GitHub Desktop.
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
# for the deamon behavoir | |
WSGIDaemonProcess appname-django processes=2 threads=15 | |
WSGIProcessGroup appname-django | |
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerName www.client1.net | |
# to mount the application from the wsgi script (see next gist) | |
WSGIScriptAlias / /path/to/your/dev.wsgi | |
Alias /media/ /path/to/your/django/media/ | |
<Directory /path/to/your/django/media/> | |
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