From 10a9f854fa289171af1c8113587fce4808e19a1b Mon Sep 17 00:00:00 2001 From: Elizabeth Krumbach Date: Wed, 17 Jul 2013 22:45:36 -0700 Subject: [PATCH] Add /cgit rewrite for git server docroot Update the cgit Apache config to make requests to http://git.openstack.org be rewritten to go to /cgit Change-Id: I3589868e9cb202f4d4b89378ca5e38ec57869b2c --- modules/cgit/files/cgit.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/cgit/files/cgit.conf b/modules/cgit/files/cgit.conf index 791d01bda2..3ca820f689 100644 --- a/modules/cgit/files/cgit.conf +++ b/modules/cgit/files/cgit.conf @@ -1,2 +1,4 @@ Alias /cgit-data /usr/share/cgit ScriptAlias /cgit /var/www/cgi-bin/cgit +RewriteEngine On +RewriteRule ^/$ /cgit [R]