2009-12-31 15:04:32 +00:00
|
|
|
<VirtualHost *:80>
|
|
|
|
|
|
|
|
<Location />
|
|
|
|
Options -Indexes
|
|
|
|
</Location>
|
|
|
|
<Directory __PREFIX__>
|
|
|
|
Order deny,allow
|
|
|
|
Allow from all
|
|
|
|
</Directory>
|
|
|
|
|
2010-02-16 12:41:57 +00:00
|
|
|
<Location />
|
|
|
|
XSendFile on
|
2011-10-20 19:33:07 +00:00
|
|
|
XSendFilePath __PREFIX__
|
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 /admin/media !
|
|
|
|
ProxyPass /data !
|
|
|
|
ProxyPass /.bzr !
|
|
|
|
|
2010-02-16 12:41:57 +00:00
|
|
|
|
|
|
|
Alias /.bzr __PREFIX__/.bzr
|
2010-11-28 15:06:48 +00:00
|
|
|
Alias /static __PREFIX__/static
|
|
|
|
Alias /favicon.ico __PREFIX__/static/favicon.ico
|
|
|
|
Alias /data __PREFIX__/data
|
2012-05-23 13:54:36 +00:00
|
|
|
Alias /static/admin __PREFIX__/django/django/contrib/admin
|
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>
|
|
|
|
|
|
|
|
|