diff options
-rw-r--r-- | apache2/conf.d/local-git.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apache2/conf.d/local-git.conf b/apache2/conf.d/local-git.conf new file mode 100644 index 0000000..04d79bb --- /dev/null +++ b/apache2/conf.d/local-git.conf @@ -0,0 +1,8 @@ +AddDefaultCharset UTF-8 + +Alias /gitweb.css /var/www/gitweb.css +Alias /git-favicon.png /var/www/git-favicon.png +Alias /git-logo.png /var/www/git-logo.png + +RewriteEngine on +RewriteRule ^/(\?.*)?$ /usr/lib/cgi-bin/gitweb.cgi%{REQUEST_URI} [T=application/x-httpd-cgi,L,NS] |