projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix path to gitweb static content
[invirt/packages/invirt-web.git]
/
files
/
etc
/
apache2
/
sites-available
/
default.mako
diff --git
a/files/etc/apache2/sites-available/default.mako
b/files/etc/apache2/sites-available/default.mako
index
ac0cf4f
..
37ea6e1
100644
(file)
--- a/
files/etc/apache2/sites-available/default.mako
+++ b/
files/etc/apache2/sites-available/default.mako
@@
-22,7
+22,8
@@
NameVirtualHost *:80
RewriteRule ^/admin/static(.*) /static/$1 [L]
RewriteRule ^/trac(.*) ${tracuri}$1 [R,L]
RewriteRule ^/invirt - [L]
RewriteRule ^/admin/static(.*) /static/$1 [L]
RewriteRule ^/trac(.*) ${tracuri}$1 [R,L]
RewriteRule ^/invirt - [L]
- RewriteRule ^/kill.cgi - [L]
+ RewriteRule ^/(git-favicon\.png|git-logo\.png|gitweb\.css|gitweb\.js)$ - [L]
+ RewriteRule ^/gitweb(/.*)?$ - [L]
RewriteRule ^/(.*) /var/www/invirt-web/unauth.fcgi/$1 [L]
ErrorLog /var/log/apache2/error.log
RewriteRule ^/(.*) /var/www/invirt-web/unauth.fcgi/$1 [L]
ErrorLog /var/log/apache2/error.log
@@
-33,14
+34,4
@@
NameVirtualHost *:80
CustomLog /var/log/apache2/access.log combined
ServerSignature On
CustomLog /var/log/apache2/access.log combined
ServerSignature On
-
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
-
</VirtualHost>
</VirtualHost>