Fix redirects

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

Change-Id: I94ab1898b83fe708703dccc49df83bae3cd12fc6
changes/60/766260/1
Brian Rosmaita 2 years ago
parent 47b9c32438
commit 6de8257026
  1. 48
      doc/source/_extra/.htaccess
  2. 48
      doc/test/redirect-tests.txt

@ -1,26 +1,26 @@
# This file contains redirects to handle existing URLs for specs that
# have been moved
Redirect 301 /specs/queens/approved/glance/deprecate-registry.html /specs/queens/implemented/glance/deprecate-registry.html
Redirect 301 /specs/queens/approved/glance/inject-automatic-metadata.html /specs/queens/implemented/glance/inject-automatic-metadata.html
Redirect 301 /specs/queens/approved/glance/lite-spec-scrubber-refactor.html /specs/queens/implemented/glance/lite-spec-scrubber-refactor.html
Redirect 301 /specs/queens/approved/python-glanceclient/deprecate-v1-support.rst /specs/rocky/approved/python-glanceclient/deprecate-v1-support.rst
Redirect 301 /specs/queens/approved/glance/multihash.html /specs/rocky/approved/glance/multihash.html
Redirect 301 /specs/queens/approved/glance/remove-registry-v1.html /specs/rocky/approved/glance/remove-registry-v1.html
Redirect 301 /specs/queens/approved/glance/remove-v1.html /specs/rocky/approved/glance/remove-v1.html
Redirect 301 /specs/mitaka/approved/image-import/image-import-refactor.html /specs/rocky/approved/glance/image-import/image-import-refactor.html
Redirect 301 /specs/queens/approved/python-glanceclient/no-schema-validation.html /specs/untargeted/python-glanceclient/no-schema-validation.html
Redirect 301 /specs/untargeted/glance/lite-spec-db-sync-check.html /specs/queens/implemented/glance/lite-spec-db-sync-check.html
Redirect 301 /specs/rocky/approved/glance/spec-lite-deprecate-owner_is_tenant.rst /specs/rocky/implemented/glance/spec-lite-deprecate-owner_is_tenant.rst
Redirect 301 /specs/rocky/approved/glance/Support-revert-pending-delete.rst /specs/rocky/implemented/glance/Support-revert-pending-delete.rst
Redirect 301 /specs/rocky/approved/glance/mitigate-ossn-0075.rst /specs/rocky/implemented/glance/mitigate-ossn-0075.rst
Redirect 301 /specs/rocky/approved/glance/multihash.rst /specs/rocky/implemented/glance/multihash.rst
Redirect 301 /specs/rocky/approved/glance/multi-store.rst /specs/rocky/implemented/glance/multi-store.rst
Redirect 301 /specs/rocky/approved/glance/operator-image-workflow.rst /specs/rocky/implemented/glance/operator-image-workflow.rst
Redirect 301 /specs/rocky/approved/glance/remove-v1.rst /specs/rocky/implemented/glance/remove-v1.rst
Redirect 301 /specs/rocky/approved/glance_store/deprecate-store_capabilities_update_min_interval.rst /specs/rocky/implemented/glance_store/deprecate-store_capabilities_update_min_interval.rst
Redirect 301 /specs/stein/approved/glance/all-visibility-image-filter.rst /specs/stein/implemented/glance/all-visibility-image-filter.rst
Redirect 301 /specs/stein/approved/glance/windows-support.rst /specs/stein/implemented/glance/windows-support.rst
Redirect 301 /specs/stein/approved/glance/spec-lite-locations-with-validation-data.rst /specs/stein/implemented/glance/spec-lite-locations-with-validation-data.rst
Redirect 301 /specs/stein/approved/glance/spec-lite-add-description-field-to-image.rst /specs/stein/implemented/glance/spec-lite-add-description-field-to-image.rst
Redirect 301 /specs/stein/approved/glance/spec-lite-readding-glance-cache-manage-for-v2.rst /specs/stein/implemented/glance/spec-lite-readding-glance-cache-manage-for-v2.rst
Redirect 301 /specs/stein/approved/python-glanceclient/spec-lite-show-store-info.rst /specs/stein/implemented/python-glanceclient/spec-lite-show-store-info.rst
Redirect 301 /openstack/glance-specs/specs/queens/approved/glance/deprecate-registry.html /openstack/glance-specs/specs/queens/implemented/glance/deprecate-registry.html
Redirect 301 /openstack/glance-specs/specs/queens/approved/glance/inject-automatic-metadata.html /openstack/glance-specs/specs/queens/implemented/glance/inject-automatic-metadata.html
Redirect 301 /openstack/glance-specs/specs/queens/approved/glance/lite-spec-scrubber-refactor.html /openstack/glance-specs/specs/queens/implemented/glance/lite-spec-scrubber-refactor.html
Redirect 301 /openstack/glance-specs/specs/queens/approved/python-glanceclient/deprecate-v1-support.rst /openstack/glance-specs/specs/rocky/approved/python-glanceclient/deprecate-v1-support.rst
Redirect 301 /openstack/glance-specs/specs/queens/approved/glance/multihash.html /openstack/glance-specs/specs/rocky/approved/glance/multihash.html
Redirect 301 /openstack/glance-specs/specs/queens/approved/glance/remove-registry-v1.html /openstack/glance-specs/specs/rocky/approved/glance/remove-registry-v1.html
Redirect 301 /openstack/glance-specs/specs/queens/approved/glance/remove-v1.html /openstack/glance-specs/specs/rocky/approved/glance/remove-v1.html
Redirect 301 /openstack/glance-specs/specs/mitaka/approved/image-import/image-import-refactor.html /openstack/glance-specs/specs/rocky/approved/glance/image-import/image-import-refactor.html
Redirect 301 /openstack/glance-specs/specs/queens/approved/python-glanceclient/no-schema-validation.html /openstack/glance-specs/specs/untargeted/python-glanceclient/no-schema-validation.html
Redirect 301 /openstack/glance-specs/specs/untargeted/glance/lite-spec-db-sync-check.html /openstack/glance-specs/specs/queens/implemented/glance/lite-spec-db-sync-check.html
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance/spec-lite-deprecate-owner_is_tenant.rst /openstack/glance-specs/specs/rocky/implemented/glance/spec-lite-deprecate-owner_is_tenant.rst
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance/Support-revert-pending-delete.rst /openstack/glance-specs/specs/rocky/implemented/glance/Support-revert-pending-delete.rst
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance/mitigate-ossn-0075.rst /openstack/glance-specs/specs/rocky/implemented/glance/mitigate-ossn-0075.rst
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance/multihash.rst /openstack/glance-specs/specs/rocky/implemented/glance/multihash.rst
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance/multi-store.rst /openstack/glance-specs/specs/rocky/implemented/glance/multi-store.rst
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance/operator-image-workflow.rst /openstack/glance-specs/specs/rocky/implemented/glance/operator-image-workflow.rst
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance/remove-v1.rst /openstack/glance-specs/specs/rocky/implemented/glance/remove-v1.rst
Redirect 301 /openstack/glance-specs/specs/rocky/approved/glance_store/deprecate-store_capabilities_update_min_interval.rst /openstack/glance-specs/specs/rocky/implemented/glance_store/deprecate-store_capabilities_update_min_interval.rst
Redirect 301 /openstack/glance-specs/specs/stein/approved/glance/all-visibility-image-filter.rst /openstack/glance-specs/specs/stein/implemented/glance/all-visibility-image-filter.rst
Redirect 301 /openstack/glance-specs/specs/stein/approved/glance/windows-support.rst /openstack/glance-specs/specs/stein/implemented/glance/windows-support.rst
Redirect 301 /openstack/glance-specs/specs/stein/approved/glance/spec-lite-locations-with-validation-data.rst /openstack/glance-specs/specs/stein/implemented/glance/spec-lite-locations-with-validation-data.rst
Redirect 301 /openstack/glance-specs/specs/stein/approved/glance/spec-lite-add-description-field-to-image.rst /openstack/glance-specs/specs/stein/implemented/glance/spec-lite-add-description-field-to-image.rst
Redirect 301 /openstack/glance-specs/specs/stein/approved/glance/spec-lite-readding-glance-cache-manage-for-v2.rst /openstack/glance-specs/specs/stein/implemented/glance/spec-lite-readding-glance-cache-manage-for-v2.rst
Redirect 301 /openstack/glance-specs/specs/stein/approved/python-glanceclient/spec-lite-show-store-info.rst /openstack/glance-specs/specs/stein/implemented/python-glanceclient/spec-lite-show-store-info.rst

@ -1,27 +1,27 @@
# 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/queens/approved/glance/deprecate-registry.html 301 /specs/queens/implemented/glance/deprecate-registry.html
/specs/queens/approved/glance/inject-automatic-metadata.html 301 /specs/queens/implemented/glance/inject-automatic-metadata.html
/specs/queens/approved/glance/lite-spec-scrubber-refactor.html 301 /specs/queens/implemented/glance/lite-spec-scrubber-refactor.html
/specs/queens/approved/python-glanceclient/deprecate-v1-support.rst 301 /specs/rocky/approved/python-glanceclient/deprecate-v1-support.rst
/specs/queens/approved/glance/multihash.html 301 /specs/rocky/approved/glance/multihash.html
/specs/queens/approved/glance/remove-registry-v1.html 301 /specs/rocky/approved/glance/remove-registry-v1.html
/specs/queens/approved/glance/remove-v1.html 301 /specs/rocky/approved/glance/remove-v1.html
/specs/mitaka/approved/image-import/image-import-refactor.html 301 /specs/rocky/approved/glance/image-import/image-import-refactor.html
/specs/queens/approved/python-glanceclient/no-schema-validation.html 301 /specs/untargeted/python-glanceclient/no-schema-validation.html
/specs/untargeted/glance/lite-spec-db-sync-check.html 301 /specs/queens/implemented/glance/lite-spec-db-sync-check.html
/specs/rocky/approved/glance/spec-lite-deprecate-owner_is_tenant.rst 301 /specs/rocky/implemented/glance/spec-lite-deprecate-owner_is_tenant.rst
/specs/rocky/approved/glance/Support-revert-pending-delete.rst 301 /specs/rocky/implemented/glance/Support-revert-pending-delete.rst
/specs/rocky/approved/glance/mitigate-ossn-0075.rst 301 /specs/rocky/implemented/glance/mitigate-ossn-0075.rst
/specs/rocky/approved/glance/multihash.rst 301 /specs/rocky/implemented/glance/multihash.rst
/specs/rocky/approved/glance/multi-store.rst 301 /specs/rocky/implemented/glance/multi-store.rst
/specs/rocky/approved/glance/operator-image-workflow.rst 301 /specs/rocky/implemented/glance/operator-image-workflow.rst
/specs/rocky/approved/glance/remove-v1.rst 301 /specs/rocky/implemented/glance/remove-v1.rst
/specs/rocky/approved/glance_store/deprecate-store_capabilities_update_min_interval.rst 301 /specs/rocky/implemented/glance_store/deprecate-store_capabilities_update_min_interval.rst
/specs/stein/approved/glance/all-visibility-image-filter.rst 301 /specs/stein/implemented/glance/all-visibility-image-filter.rst
/specs/stein/approved/glance/windows-support.rst 301 /specs/stein/implemented/glance/windows-support.rst
/specs/stein/approved/glance/spec-lite-locations-with-validation-data.rst 301 /specs/stein/implemented/glance/spec-lite-locations-with-validation-data.rst
/specs/stein/approved/glance/spec-lite-add-description-field-to-image.rst 301 /specs/stein/implemented/glance/spec-lite-add-description-field-to-image.rst
/specs/stein/approved/glance/spec-lite-readding-glance-cache-manage-for-v2.rst 301 /specs/stein/implemented/glance/spec-lite-readding-glance-cache-manage-for-v2.rst
/specs/stein/approved/python-glanceclient/spec-lite-show-store-info.rst 301 /specs/stein/implemented/python-glanceclient/spec-lite-show-store-info.rst
/openstack/glance-specs/specs/queens/approved/glance/deprecate-registry.html 301 /openstack/glance-specs/specs/queens/implemented/glance/deprecate-registry.html
/openstack/glance-specs/specs/queens/approved/glance/inject-automatic-metadata.html 301 /openstack/glance-specs/specs/queens/implemented/glance/inject-automatic-metadata.html
/openstack/glance-specs/specs/queens/approved/glance/lite-spec-scrubber-refactor.html 301 /openstack/glance-specs/specs/queens/implemented/glance/lite-spec-scrubber-refactor.html
/openstack/glance-specs/specs/queens/approved/python-glanceclient/deprecate-v1-support.rst 301 /openstack/glance-specs/specs/rocky/approved/python-glanceclient/deprecate-v1-support.rst
/openstack/glance-specs/specs/queens/approved/glance/multihash.html 301 /openstack/glance-specs/specs/rocky/approved/glance/multihash.html
/openstack/glance-specs/specs/queens/approved/glance/remove-registry-v1.html 301 /openstack/glance-specs/specs/rocky/approved/glance/remove-registry-v1.html
/openstack/glance-specs/specs/queens/approved/glance/remove-v1.html 301 /openstack/glance-specs/specs/rocky/approved/glance/remove-v1.html
/openstack/glance-specs/specs/mitaka/approved/image-import/image-import-refactor.html 301 /openstack/glance-specs/specs/rocky/approved/glance/image-import/image-import-refactor.html
/openstack/glance-specs/specs/queens/approved/python-glanceclient/no-schema-validation.html 301 /openstack/glance-specs/specs/untargeted/python-glanceclient/no-schema-validation.html
/openstack/glance-specs/specs/untargeted/glance/lite-spec-db-sync-check.html 301 /openstack/glance-specs/specs/queens/implemented/glance/lite-spec-db-sync-check.html
/openstack/glance-specs/specs/rocky/approved/glance/spec-lite-deprecate-owner_is_tenant.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance/spec-lite-deprecate-owner_is_tenant.rst
/openstack/glance-specs/specs/rocky/approved/glance/Support-revert-pending-delete.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance/Support-revert-pending-delete.rst
/openstack/glance-specs/specs/rocky/approved/glance/mitigate-ossn-0075.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance/mitigate-ossn-0075.rst
/openstack/glance-specs/specs/rocky/approved/glance/multihash.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance/multihash.rst
/openstack/glance-specs/specs/rocky/approved/glance/multi-store.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance/multi-store.rst
/openstack/glance-specs/specs/rocky/approved/glance/operator-image-workflow.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance/operator-image-workflow.rst
/openstack/glance-specs/specs/rocky/approved/glance/remove-v1.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance/remove-v1.rst
/openstack/glance-specs/specs/rocky/approved/glance_store/deprecate-store_capabilities_update_min_interval.rst 301 /openstack/glance-specs/specs/rocky/implemented/glance_store/deprecate-store_capabilities_update_min_interval.rst
/openstack/glance-specs/specs/stein/approved/glance/all-visibility-image-filter.rst 301 /openstack/glance-specs/specs/stein/implemented/glance/all-visibility-image-filter.rst
/openstack/glance-specs/specs/stein/approved/glance/windows-support.rst 301 /openstack/glance-specs/specs/stein/implemented/glance/windows-support.rst
/openstack/glance-specs/specs/stein/approved/glance/spec-lite-locations-with-validation-data.rst 301 /openstack/glance-specs/specs/stein/implemented/glance/spec-lite-locations-with-validation-data.rst
/openstack/glance-specs/specs/stein/approved/glance/spec-lite-add-description-field-to-image.rst 301 /openstack/glance-specs/specs/stein/implemented/glance/spec-lite-add-description-field-to-image.rst
/openstack/glance-specs/specs/stein/approved/glance/spec-lite-readding-glance-cache-manage-for-v2.rst 301 /openstack/glance-specs/specs/stein/implemented/glance/spec-lite-readding-glance-cache-manage-for-v2.rst
/openstack/glance-specs/specs/stein/approved/python-glanceclient/spec-lite-show-store-info.rst 301 /openstack/glance-specs/specs/stein/implemented/python-glanceclient/spec-lite-show-store-info.rst

Loading…
Cancel
Save