Skip to content

Instantly share code, notes, and snippets.

@jgumbley
Created April 2, 2010 15:31
Show Gist options
  • Save jgumbley/353266 to your computer and use it in GitHub Desktop.
Save jgumbley/353266 to your computer and use it in GitHub Desktop.
# 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