Redirect UC content to TC site

The UC and TC merged on August 1, 2020. A separate website at
https://governance.openstack.org/uc/ is no longer required, and
its content is now obsolete.

Redirect all /uc/* requests to https://governance.openstack.org/tc/
index page so that we don't break anyone.

Depends-On: https://review.opendev.org/744488
Change-Id: I38b6a41eee81e2bca47a4f6d81ee30fe54f3199e
This commit is contained in:
Thierry Carrez 2020-08-03 16:41:16 +02:00
parent 872663a270
commit 25729938c0

View File

@ -30,7 +30,6 @@ Define AFS_ROOT /afs/openstack.org/project/governance.openstack.org
Alias "/ideas/" "${AFS_ROOT}/ideas/" Alias "/ideas/" "${AFS_ROOT}/ideas/"
Alias "/sigs/" "${AFS_ROOT}/sigs/" Alias "/sigs/" "${AFS_ROOT}/sigs/"
Alias "/tc/" "${AFS_ROOT}/tc/" Alias "/tc/" "${AFS_ROOT}/tc/"
Alias "/uc/" "${AFS_ROOT}/uc/"
# keep last # keep last
Alias "/" "${AFS_ROOT}/governance/" Alias "/" "${AFS_ROOT}/governance/"
@ -40,6 +39,9 @@ Define AFS_ROOT /afs/openstack.org/project/governance.openstack.org
Redirect "/reference/" "/tc/reference/" Redirect "/reference/" "/tc/reference/"
Redirect "/resolutions/" "/tc/resolutions/" Redirect "/resolutions/" "/tc/resolutions/"
# Redirect all old pages under /uc/ to the TC index page
RedirectMatch "^/uc/.*$" "/tc/index.html"
<Directory ${AFS_ROOT}/election> <Directory ${AFS_ROOT}/election>
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverrideList Redirect RedirectMatch AllowOverrideList Redirect RedirectMatch
@ -75,13 +77,6 @@ Define AFS_ROOT /afs/openstack.org/project/governance.openstack.org
Require all granted Require all granted
</Directory> </Directory>
<Directory ${AFS_ROOT}/uc>
Options Indexes FollowSymLinks MultiViews
AllowOverrideList Redirect RedirectMatch
Satisfy Any
Require all granted
</Directory>
<Directory ${AFS_ROOT}/badges> <Directory ${AFS_ROOT}/badges>
Options Indexes FollowSymLinks MultiViews Options Indexes FollowSymLinks MultiViews
AllowOverride None AllowOverride None