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>
|
2011-11-08 17:05:26 +00:00
|
|
|
ProxyRequests Off
|
|
|
|
<Proxy *>
|
|
|
|
Order deny,allow
|
|
|
|
Allow from all
|
|
|
|
</Proxy>
|
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
|
2009-12-31 15:04:32 +00:00
|
|
|
Alias /admin/media __PREFIX__/src/django/django/contrib/admin/media
|
2010-01-29 11:03:45 +00:00
|
|
|
Alias /static/js/jquery.js __PREFIX__/src/django/django/contrib/admin/media/js/jquery.min.js
|
2010-02-22 09:25:29 +00:00
|
|
|
|
2010-11-28 15:06:48 +00:00
|
|
|
RewriteEngine on
|
|
|
|
RewriteCond %{REQUEST_URI} !^/.bzr
|
|
|
|
RewriteCond %{REQUEST_URI} !^/static
|
|
|
|
RewriteCond %{REQUEST_URI} !^/data
|
|
|
|
RewriteCond %{REQUEST_URI} !^/admin/media
|
|
|
|
RewriteRule ^/(.*) http://127.0.0.1:2620/$1 [P]
|
2009-12-31 15:04:32 +00:00
|
|
|
|
|
|
|
ServerSignature Off
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
|
|
|