Also, make cgit redirects aware of the new test-* namespaces.

This commit is contained in:
Ralph Bean 2016-12-01 15:23:33 +00:00
parent 8d4456dc1c
commit b7941a75c5

View file

@ -1,5 +1,5 @@
# Redirect requests to un-namespaced repos to their new namespaced home # Redirect requests to un-namespaced repos to their new namespaced home
RedirectMatch 302 "^/cgit/((?!(rpms|docker|modules)).*)" "/cgit/rpms/$1" RedirectMatch 302 "^/cgit/((?!(rpms|docker|modules|test)).*)" "/cgit/rpms/$1"
Alias /cgit-data /usr/share/cgit Alias /cgit-data /usr/share/cgit
ScriptAlias /cgit /var/www/cgi-bin/cgit ScriptAlias /cgit /var/www/cgi-bin/cgit