44 lines
944 B
Text
44 lines
944 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 /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/
|
|
|
|
ServerSignature Off
|
|
</VirtualHost>
|
|
|
|
|