diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-10-29 11:57:42 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-10-29 11:57:42 +0200 |
commit | 1f6f808899bc11baaa4a25d2d921addb8e97559d (patch) | |
tree | 2624ab5a61b5362ebe19d07387cecf14e41e768a /apache2 | |
parent | 7b4ac1d137f6ed31f341e4ce86db10dd5039f7e6 (diff) |
Support gitweb 1.7.2.3 (hopefully preserving backwards compatibility).
Diffstat (limited to 'apache2')
-rw-r--r-- | apache2/conf.d/local-git.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apache2/conf.d/local-git.conf b/apache2/conf.d/local-git.conf index d667e9e..a3894b1 100644 --- a/apache2/conf.d/local-git.conf +++ b/apache2/conf.d/local-git.conf @@ -14,7 +14,6 @@ AddDefaultCharset UTF-8 allow from all </Directory> -Alias /gitweb/ /usr/share/gitweb/ <Directory /usr/share/gitweb> Options None @@ -24,4 +23,5 @@ Alias /gitweb/ /usr/share/gitweb/ </Directory> RewriteEngine on +RewriteRule ^/(gitweb/)?(gitweb\.css|gitweb\.js|git-favicon\.png|git-logo\.png)$ /usr/share/gitweb/$2 [last] RewriteRule ^/(\?.*)?$ /usr/lib/cgi-bin/gitweb.cgi%{REQUEST_URI} [T=application/x-httpd-cgi,L,NS] |