pandora/etc/apache2/vhost.conf.in

46 lines
969 B
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 /data !
ProxyPass /.bzr !
Alias /.bzr __PREFIX__/.bzr
Alias /static __PREFIX__/static
Alias /favicon.ico __PREFIX__/static/favicon.ico
Alias /data __PREFIX__/data
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>