Merge "[www] Clean up .htaccess"

This commit is contained in:
Jenkins 2015-10-07 17:26:48 +00:00 committed by Gerrit Code Review
commit 3f6dce270b

View File

@ -1,3 +1,13 @@
# Redirecting End-of-Life (EOL) versions, see https://wiki.openstack.org/wiki/Releases:
redirectmatch 301 /bexar/.*$ /index.html
redirectmatch 301 /cactus/.*$ /index.html
redirectmatch 301 /diablo/.*$ /index.html
redirectmatch 301 /essex/.*$ /index.html
redirectmatch 301 /folsom/.*$ /index.html
redirectmatch 301 /grizzly/.*$ /index.html
redirectmatch 301 /havana/.*$ /index.html
redirectmatch 301 /icehouse/.*$ /index.html
# Redirect for the original version of compute
redirect 301 /openstack-compute/ /
@ -11,15 +21,7 @@ redirect 301 /api/openstack-compute/1.1/ /api/openstack-compute/2/
redirect 301 /trunk/openstack-compute/admin/content/adding-images.html /cli-reference/content/chapter_cli-glance-property.html
# Redirect config reference precisely
redirect 301 /trunk/openstack-compute/admin/content/compute-options-reference.html /juno/config-reference/content/list-of-compute-config-options.html
# Redirecting End-of-Life (EOL) versions, see https://wiki.openstack.org/wiki/Releases:
redirectmatch 301 /bexar/.*$ /index.html
redirectmatch 301 /cactus/.*$ /index.html
redirectmatch 301 /diablo/.*$ /index.html
redirectmatch 301 /essex/.*$ /index.html
redirectmatch 301 /folsom/.*$ /index.html
redirectmatch 301 /grizzly/.*$ /index.html
redirect 301 /trunk/openstack-compute/admin/content/compute-options-reference.html /kilo/config-reference/content/list-of-compute-config-options.html
redirect 301 /trunk/openstack-compute/starter/ /trunk/
@ -31,8 +33,8 @@ redirect 301 /incubation/openstack-network/developer/quantum-api-1.0/content/ /a
redirect 301 /trunk/openstack-compute/install/content /trunk/openstack-compute/install/yum/content
# Redirecting trunk basic install to install guide
redirect 301 /trunk/basic-install/apt/content /juno/install-guide/apt/content/
redirect 301 /trunk/basic-install/yum/content /juno/install-guide/yum/content/
redirect 301 /trunk/basic-install/apt/content /kilo/install-guide/apt/content/
redirect 301 /trunk/basic-install/yum/content /kilo/install-guide/yum/content/
# Redirecting trunk admin guides to admin-guide-cloud
redirect 301 /trunk/openstack-block-storage/admin/content/ /admin-guide-cloud/
@ -66,11 +68,10 @@ redirect 301 /incubation/ /
redirectmatch /identity/api/.*$ http://developer.openstack.org/
# Redirect old Networking Admin Guide to Configuration Reference
redirect 301 /trunk/openstack-network/admin/content/under_the_hood_openvswitch.html /havana/config-reference/content/networking-plugin-openvswitch_agent.html
redirect 301 /trunk/openstack-network/admin/content/under_the_hood_linuxbridge.html /havana/config-reference/content/networking-plugin-linuxbridge_agent.html
redirect 301 /trunk/openstack-network/admin/content/under_the_hood_openvswitch.html /kilo/config-reference/content/networking-plugin-openvswitch_agent.html
redirect 301 /trunk/openstack-network/admin/content/under_the_hood_linuxbridge.html /kilo/config-reference/content/networking-plugin-linuxbridge_agent.html
redirectmatch /trunk/openstack-network/admin/content/.*$ /admin-guide-cloud/index.html
redirectmatch /network-admin/admin/content/.*$ /admin-guide-cloud/index.html
redirect 301 /havana/config-reference/content/under_the_hood_openvswitch.html /admin-guide-cloud/content/under_the_hood_openvswitch.html
# Redirect old openstack-identity links
redirect 301 /trunk/openstack-identity/admin/content/ /admin-guide-cloud/content/ch-identity-mgmt-config.html
@ -116,12 +117,7 @@ redirect 301 /trunk/index.html /index.html
# Redirect trunk/config-reference to kilo/config-reference
redirectmatch 301 /trunk/config-reference/content/(.*) /kilo/config-reference/content/$1
# Redirect apt-debian install guide for Icehouse
redirectmatch 301 /icehouse/install-guide/install/apt-debian/.*$ /
# Redirect trove install guide
redirectmatch 301 "^/icehouse/install-guide/install/.*/ch_trove.html$" /
redirectmatch 301 "^/icehouse/install-guide/install/.*/trove.*$" /
redirectmatch 301 "^/juno/install-guide/install/.*/ch_trove.html$" /
redirectmatch 301 "^/juno/install-guide/install/.*/trove.*$" /
redirectmatch 301 "^/kilo/install-guide/install/.*/ch_trove.html$" /
@ -133,7 +129,7 @@ redirectmatch 301 "^/juno/install-guide/install/.*/sahara.*$" /
redirectmatch 301 "^/kilo/install-guide/install/.*/ch_sahara.html$" /
redirectmatch 301 "^/kilo/install-guide/install/.*/sahara.*$" /
# Redirect old networking content to root for now
# Redirect old networking content to root for now
redirectmatch 301 /openstack-network/.*$ /index.html
# Redirect top ten (or so) User Guide pages post-migration