system-config/modules/cgit/files/cgit.conf
Elizabeth Krumbach 10a9f854fa 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
2013-07-17 22:45:36 -07:00

5 lines
116 B
Plaintext

Alias /cgit-data /usr/share/cgit
ScriptAlias /cgit /var/www/cgi-bin/cgit
RewriteEngine On
RewriteRule ^/$ /cgit [R]