pandora/apache/vhost.conf.in

31 lines
865 B
Text
Raw Normal View History

2009-12-31 15:04:32 +00:00
<VirtualHost *:80>
<Location />
Options -Indexes
</Location>
<Directory __PREFIX__>
Order deny,allow
Allow from all
</Directory>
<Location />
XSendFile on
XSendFileAllowAbove on
</Location>
Alias /.bzr __PREFIX__/.bzr
Alias /static __PREFIX__/pandora/static
Alias /favicon.ico __PREFIX__/pandora/static/favicon.ico
Alias /media __PREFIX__/pandora/media
2009-12-31 15:04:32 +00:00
Alias /admin/media __PREFIX__/src/django/django/contrib/admin/media
Alias /static/js/jquery.js __PREFIX__/src/django/django/contrib/admin/media/js/jquery.min.js
2009-12-31 15:04:32 +00:00
WSGIScriptAlias / __PREFIX__/wsgi/django.wsgi
WSGIDaemonProcess pandora user=pandora group=pandora threads=25 python-path=__PREFIX__/lib/python2.6/site-packages/
WSGIProcessGroup pandora
2009-12-31 15:04:32 +00:00
ServerSignature Off
</VirtualHost>