gazetteer/conf/apache2.conf

29 lines
922 B
ApacheConf
Raw Permalink Normal View History

2011-09-02 07:46:30 +00:00
<VirtualHost *:80>
ServerName gazetteer.in
ServerAlias www.gazetteer.in
<Location />
Options -Indexes
</Location>
<Directory /srv/gazetteer>
Order deny,allow
Allow from all
</Directory>
Alias /.bzr /srv/gazetteer/gazetteer/.bzr
Alias /static /srv/gazetteer/gazetteer/static
Alias /favicon.ico /srv/gazetteer/gazetteer/static/favicon.ico
Alias /media /srv/gazetteer/gazetteer/media
Alias /admin/media /srv/gazetteer/src/django/django/contrib/admin/media
WSGIScriptAlias / /srv/gazetteer/wsgi/django.wsgi
WSGIDaemonProcess gazetteer user=gazetteer group=gazetteer threads=25 python-path=/srv/gazetteer/lib/python2.6/site-packages/
WSGIProcessGroup gazetteer
LogLevel warn
ErrorLog /var/log/apache2/gazetteer_errors.log
CustomLog /var/log/apache2/gazetteer.log combined
ServerSignature Off
</VirtualHost>