pandora/etc/apache2/vhost.conf.in
2012-04-19 18:06:38 +02:00

48 lines
1 KiB
Text

<VirtualHost *:80>
<Location />
Options -Indexes
</Location>
<Directory __PREFIX__>
Order deny,allow
Allow from all
</Directory>
<Location />
XSendFile on
XSendFilePath __PREFIX__
</Location>
AddType video/webm webm
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /static !
ProxyPass /favicon.ico !
ProxyPass /robots.txt !
ProxyPass /admin/media !
ProxyPass /data !
ProxyPass /.bzr !
Alias /.bzr __PREFIX__/.bzr
Alias /static __PREFIX__/static
Alias /favicon.ico __PREFIX__/static/favicon.ico
Alias /data __PREFIX__/data
Alias /admin/media __PREFIX__/src/django/django/contrib/admin/media
ProxyPreserveHost On
ProxyPass / http://127.0.0.1:2620/
ProxyPassReverse / http://127.0.0.1:2620/
LogLevel warn
ErrorLog /var/log/apache2/pandora_error.log
CustomLog /var/log/apache2/pandora_access.log combined
ServerSignature Off
</VirtualHost>