Created
March 26, 2013 13:24
-
-
Save capooti/5245327 to your computer and use it in GitHub Desktop.
Sample Virtual Host for GeoNode with Apache
This file contains hidden or 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
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