Merge "Redirect UC content to TC site"

This commit is contained in:
Zuul 2020-08-13 01:23:06 +00:00 committed by Gerrit Code Review
commit ea67af477d

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