Skip to content

Instantly share code, notes, and snippets.

@gijs
Created May 14, 2009 13:13
Show Gist options
  • Save gijs/111655 to your computer and use it in GitHub Desktop.
Save gijs/111655 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName www.domain1.nl
ServerAdmin [email protected]
DocumentRoot /var/www/
WSGIDaemonProcess www.domain1.nl processes=2 threads=10
WSGIProcessGroup www.domain1.nl
#WSGIApplicationGroup %{GLOBAL}
WSGIScriptAlias / /a/domain1.nl/etc/django.wsgi
<Directory /usr/local/www/wsgi-scripts>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName www.domain2.nl
ServerAdmin [email protected]
DocumentRoot /var/www/
WSGIDaemonProcess www.domain2.nl processes=2 threads=10
WSGIProcessGroup www.domain2.nl
#WSGIApplicationGroup %{GLOBAL}
WSGIScriptAlias / /a/domain2.nl/etc/django.wsgi
<Directory /usr/local/www/wsgi-scripts>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment