47 lines
1,021 B
Text
47 lines
1,021 B
Text
<VirtualHost *:80>
|
|
|
|
#ServerName pandora.YOURDOMAIN.COM
|
|
|
|
<Location />
|
|
Options -Indexes
|
|
</Location>
|
|
<Directory /srv/pandora>
|
|
Order deny,allow
|
|
Allow from all
|
|
</Directory>
|
|
|
|
<Location />
|
|
XSendFile on
|
|
XSendFilePath /srv/pandora
|
|
</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 /srv/pandora/.bzr
|
|
Alias /static /srv/pandora/static
|
|
Alias /favicon.ico /srv/pandora/static/favicon.ico
|
|
Alias /data /srv/pandora/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>
|
|
|
|
|