From 12c3dd93cfd915c38c7c4b9fda2ad9a8bd673dcd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 22 Feb 2008 16:53:32 +0000 Subject: Add Git config for combined gitweb and http:// pull support. --- apache2/conf.d/local-git.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apache2/conf.d/local-git.conf (limited to 'apache2') 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] -- cgit v1.2.3