2009-12-31 15:04:32 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
|
2012-10-30 10:23:36 +00:00
|
|
|
#ServerName pandora.YOURDOMAIN.COM
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
<Location />
|
|
|
|
Options -Indexes
|
|
|
|
</Location>
|
2012-10-30 10:23:36 +00:00
|
|
|
<Directory /srv/pandora>
|
2009-12-31 15:04:32 +00:00
|
|
|
Order deny,allow
|
|
|
|
Allow from all
|
|
|
|
</Directory>
|
|
|
|
|
2010-02-16 12:41:57 +00:00
|
|
|
<Location />
|
|
|
|
XSendFile on
|
2012-10-30 10:23:36 +00:00
|
|
|
XSendFilePath /srv/pandora
|
2010-02-16 12:41:57 +00:00
|
|
|
</Location>
|
2012-02-23 20:42:26 +00:00
|
|
|
|
|
|
|
AddType video/webm webm
|
|
|
|
|
2011-11-08 17:05:26 +00:00
|
|
|
ProxyRequests Off
|
|
|
|
<Proxy *>
|
|
|
|
Order deny,allow
|
|
|
|
Allow from all
|
|
|
|
</Proxy>
|
2012-02-22 16:34:41 +00:00
|
|
|
ProxyPass /static !
|
|
|
|
ProxyPass /favicon.ico !
|
|
|
|
ProxyPass /robots.txt !
|
|
|
|
ProxyPass /data !
|
|
|
|
ProxyPass /.bzr !
|
|
|
|
|
2012-10-30 10:23:36 +00:00
|
|
|
Alias /.bzr /srv/pandora/.bzr
|
|
|
|
Alias /static /srv/pandora/static
|
|
|
|
Alias /favicon.ico /srv/pandora/static/favicon.ico
|
|
|
|
Alias /data /srv/pandora/data
|
2012-02-22 16:34:41 +00:00
|
|
|
|
|
|
|
ProxyPreserveHost On
|
|
|
|
ProxyPass / http://127.0.0.1:2620/
|
|
|
|
ProxyPassReverse / http://127.0.0.1:2620/
|
2009-12-31 15:04:32 +00:00
|
|
|
|
2012-04-19 16:06:38 +00:00
|
|
|
LogLevel warn
|
|
|
|
ErrorLog /var/log/apache2/pandora_error.log
|
|
|
|
CustomLog /var/log/apache2/pandora_access.log combined
|
|
|
|
|
2009-12-31 15:04:32 +00:00
|
|
|
ServerSignature Off
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
|