Accept PATH_INFO on gitweb.cgi
authorAnders Kaseorg <andersk@mit.edu>
Thu, 5 May 2011 02:06:12 +0000 (22:06 -0400)
committerAnders Kaseorg <andersk@mit.edu>
Thu, 5 May 2011 02:06:12 +0000 (22:06 -0400)
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
.htaccess

index 01e7d0987dde29955ebf3c87ea437243b74cb31c..37325c0d75743bbab67acd38b42500e0d0b057ff 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -15,7 +15,7 @@ RewriteRule ^(.*)$ http://sipb.mit.edu/$1 [R=301,L]
 # Serve some CGI scripts from _wiki-cgi
 RewriteRule ^ikiwiki.cgi$ _wiki-cgi/ikiwiki.cgi [L]
 RewriteRule ^update.cgi$ _wiki-cgi/update.cgi [L]
-RewriteRule ^gitweb.cgi$ _wiki-cgi/gitweb.cgi [L]
+RewriteRule ^gitweb.cgi(/.*)?$ _wiki-cgi/gitweb.cgi$1 [L]
 
 # Trailing-slash directories served from _wiki
 RewriteCond %{DOCUMENT_ROOT}/_wiki%{REQUEST_URI} -d