summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apache2/conf.d/local-git.conf2
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]