diff options
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] |