From: Dana Jansens Date: Fri, 15 Oct 2010 19:23:07 +0000 (-0400) Subject: add redirect for openbox.org/git/USER/SHA to gitweb commit diff X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=dana%2Fopenbox-web.git add redirect for openbox.org/git/USER/SHA to gitweb commit diff --- diff --git a/.htaccess b/.htaccess index 381dc9e..e4ce625 100644 --- a/.htaccess +++ b/.htaccess @@ -29,3 +29,5 @@ RewriteRule ^$ wiki [L] # wiki/ shortcut for the old wiki site RewriteRule ^wiki/?$ oldwiki/index.php?title=Main_Page [L,QSA] RewriteRule ^wiki/(.+)$ oldwiki/index.php?title=$1 [L,QSA] + +RedirectMatch temp ^/git/([^/]+/)(.*)$ http://git.openbox.org/?p=$1openbox.git;a=commitdiff;h=$2