update README, move scripts to toplevel
This commit is contained in:
parent
0ed8c805c7
commit
f9bc5b06be
14 changed files with 53 additions and 84 deletions
33
etc/apache2/vhost.conf.in
Normal file
33
etc/apache2/vhost.conf.in
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<VirtualHost *:80>
|
||||
|
||||
<Location />
|
||||
Options -Indexes
|
||||
</Location>
|
||||
<Directory __PREFIX__>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Directory>
|
||||
|
||||
<Location />
|
||||
XSendFile on
|
||||
XSendFilePath __PREFIX__
|
||||
</Location>
|
||||
|
||||
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
|
||||
Alias /static/js/jquery.js __PREFIX__/src/django/django/contrib/admin/media/js/jquery.min.js
|
||||
|
||||
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]
|
||||
|
||||
ServerSignature Off
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue