Skip to content

Instantly share code, notes, and snippets.

@capooti
Created March 26, 2013 13:24
Show Gist options
  • Save capooti/5245327 to your computer and use it in GitHub Desktop.
Save capooti/5245327 to your computer and use it in GitHub Desktop.
Sample Virtual Host for GeoNode with Apache
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
ServerAdmin [email protected]
# Log Files
LogLevel info
ErrorLog /var/log/apache2/error-geonode-2.log
CustomLog /var/log/apache2/access-geonode-2.log combined
DocumentRoot /home/capooti/git/github/capooti/geonode-master/geonode/static_root
Alias /static/ /home/capooti/git/github/capooti/geonode-master/geonode/static_root/
<Directory /home/capooti/git/github/capooti/geonode-master/geonode/static_root/ >
Options Indexes FollowSymLinks
Order deny,allow
Allow from all
</Directory>
# wsgi stuff
WSGIDaemonProcess geonode2-django display-name=geonode2-django processes=2 threads=15
WSGIScriptAlias / /home/capooti/git/github/capooti/geonode-master/django.wsgi
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment