Fix redirects

The current paths need '/openstack/cinder-specs' prepended to them.
(This was verified by fungi manually editing the deployed .htaccess
file on the specs website.)

Change-Id: I1a546d4b39c507336d3364f9d1c0129c04bec1f6
This commit is contained in:
Brian Rosmaita 2020-11-24 22:26:43 -05:00
parent 873135ff05
commit 199b9fe667
2 changed files with 12 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# This file contains redirects to handle existing URLs for specs
# that have been moved
Redirect 301 /specs/train/image-encryption.html /specs/wallaby/image-encryption.html
Redirect 301 /specs/ussuri/image-encryption.html /specs/wallaby/image-encryption.html
Redirect 301 /specs/victoria/image-encryption.html /specs/wallaby/image-encryption.html
Redirect 301 /specs/train/support-glance-multiple-backend.html /specs/ussuri/support-glance-multiple-backend.html
Redirect 301 /specs/train/query-cinder-resources-filter-by-time-comparison-operators.html /specs/ussuri/query-cinder-resources-filter-by-time-comparison-operators.html
Redirect 301 /specs/newton/specify-volume_type-and-availability_zone-for-backup-restore-API.html /specs/wallaby/specify-volume_type-and-availability_zone-for-backup-restore-API.html
Redirect 301 /openstack/cinder-specs/specs/train/image-encryption.html /openstack/cinder-specs/specs/wallaby/image-encryption.html
Redirect 301 /openstack/cinder-specs/specs/ussuri/image-encryption.html /openstack/cinder-specs/specs/wallaby/image-encryption.html
Redirect 301 /openstack/cinder-specs/specs/victoria/image-encryption.html /openstack/cinder-specs/specs/wallaby/image-encryption.html
Redirect 301 /openstack/cinder-specs/specs/train/support-glance-multiple-backend.html /openstack/cinder-specs/specs/ussuri/support-glance-multiple-backend.html
Redirect 301 /openstack/cinder-specs/specs/train/query-cinder-resources-filter-by-time-comparison-operators.html /openstack/cinder-specs/specs/ussuri/query-cinder-resources-filter-by-time-comparison-operators.html
Redirect 301 /openstack/cinder-specs/specs/newton/specify-volume_type-and-availability_zone-for-backup-restore-API.html /openstack/cinder-specs/specs/wallaby/specify-volume_type-and-availability_zone-for-backup-restore-API.html

View File

@ -1,9 +1,9 @@
# This file contains tests for redirects to handle existing URLs for
# specs that have been moved. See
# https://docs.openstack.org/whereto/latest/ for details.
/specs/train/image-encryption.html 301 /specs/wallaby/image-encryption.html
/specs/ussuri/image-encryption.html 301 /specs/wallaby/image-encryption.html
/specs/victoria/image-encryption.html 301 /specs/wallaby/image-encryption.html
/specs/train/support-glance-multiple-backend.html 301 /specs/ussuri/support-glance-multiple-backend.html
/specs/train/query-cinder-resources-filter-by-time-comparison-operators.html 301 /specs/ussuri/query-cinder-resources-filter-by-time-comparison-operators.html
/specs/newton/specify-volume_type-and-availability_zone-for-backup-restore-API.html 301 /specs/wallaby/specify-volume_type-and-availability_zone-for-backup-restore-API.html
/openstack/cinder-specs/specs/train/image-encryption.html 301 /openstack/cinder-specs/specs/wallaby/image-encryption.html
/openstack/cinder-specs/specs/ussuri/image-encryption.html 301 /openstack/cinder-specs/specs/wallaby/image-encryption.html
/openstack/cinder-specs/specs/victoria/image-encryption.html 301 /openstack/cinder-specs/specs/wallaby/image-encryption.html
/openstack/cinder-specs/specs/train/support-glance-multiple-backend.html 301 /openstack/cinder-specs/specs/ussuri/support-glance-multiple-backend.html
/openstack/cinder-specs/specs/train/query-cinder-resources-filter-by-time-comparison-operators.html 301 /openstack/cinder-specs/specs/ussuri/query-cinder-resources-filter-by-time-comparison-operators.html
/openstack/cinder-specs/specs/newton/specify-volume_type-and-availability_zone-for-backup-restore-API.html 301 /openstack/cinder-specs/specs/wallaby/specify-volume_type-and-availability_zone-for-backup-restore-API.html