From 1f6f808899bc11baaa4a25d2d921addb8e97559d Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 29 Oct 2010 11:57:42 +0200 Subject: Support gitweb 1.7.2.3 (hopefully preserving backwards compatibility). --- apache2/conf.d/local-git.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -Alias /gitweb/ /usr/share/gitweb/ Options None @@ -24,4 +23,5 @@ Alias /gitweb/ /usr/share/gitweb/ 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] -- cgit v1.2.3