remove /rechecks

and make it redirect to the elastic-recheck page for niceness to
users using the old link.

Change-Id: I900418ae152c5568c7418237aa0e30e2b1efdd78
This commit is contained in:
Sean Dague 2014-06-25 09:17:39 -04:00
parent eb7d4d31e2
commit 9b357c31fb
2 changed files with 1 additions and 12 deletions

View File

@ -12,15 +12,6 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
<% end -%>
DocumentRoot <%= docroot %>
RewriteEngine on
RewriteRule ^/rechecks$ /rechecks/ [R]
RewriteRule ^/rechecks/$ http://zuul.openstack.org/rechecks.html [P]
<Location /rechecks/>
Order allow,deny
Allow from all
</Location>
Alias /bugday /srv/static/bugdaystats
<Directory /srv/static/bugdaystats>
AllowOverride None
@ -54,6 +45,7 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
allow from all
</Directory>
RedirectMatch permanent ^/rechecks(.*) /elastic-recheck
Alias /elastic-recheck /usr/local/share/elastic-recheck
<Directory /usr/local/share/elastic-recheck>
AllowOverride None

View File

@ -13,9 +13,6 @@
AddOutputFilterByType DEFLATE application/json
Alias /rechecks.html /var/www/recheckwatch/rechecks.html
Alias /rechecks /var/www/recheckwatch/rechecks.html
SetEnv GIT_PROJECT_ROOT /var/lib/zuul/git/
SetEnv GIT_HTTP_EXPORT_ALL