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
This commit is contained in:
Elizabeth Krumbach 2013-07-17 22:45:36 -07:00
parent 10a22bd331
commit a039d2f13e
1 changed files with 2 additions and 0 deletions

View File

@ -1,2 +1,4 @@
Alias /cgit-data /usr/share/cgit
ScriptAlias /cgit /var/www/cgi-bin/cgit
RewriteEngine On
RewriteRule ^/$ /cgit [R]