From f1e29545084489299e6de31634bc571e22390a84 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Wed, 19 Dec 2018 16:21:16 +0000 Subject: [PATCH] Redirect user/placement to placement docs The placement api-ref had a link to user/placement.html in nova. That is being fixed in Ibfe016f25a29b6810ea09c5d03a01dbf3c53371f but the link is now loose in the internets, using the 'latest' prefix, so we want to make sure that what is currently showing as a 404 goes somewhere useful, in this case the top of the placement docs. Change-Id: Ib75547ac655e614441dec5e1bcc7784c2b6a070c --- doc/source/_extra/.htaccess | 1 + doc/test/redirect-tests.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/source/_extra/.htaccess b/doc/source/_extra/.htaccess index 0cd9be3686b5..baba1e3b43fc 100644 --- a/doc/source/_extra/.htaccess +++ b/doc/source/_extra/.htaccess @@ -76,3 +76,4 @@ redirectmatch 301 ^/nova/([^/]+)/vendordata.html$ /nova/$1/user/vendordata.html redirectmatch 301 ^/nova/([^/]+)/vmstates.html$ /nova/$1/reference/vm-states.html redirectmatch 301 ^/nova/([^/]+)/wsgi.html$ /nova/$1/user/wsgi.html redirectmatch 301 ^/nova/([^/]+)/user/cellsv2_layout.html$ /nova/$1/user/cellsv2-layout.html +redirectmatch 301 ^/nova/latest/user/placement.html$ /placement/latest/ diff --git a/doc/test/redirect-tests.txt b/doc/test/redirect-tests.txt index 39a894461085..0d761888dba5 100644 --- a/doc/test/redirect-tests.txt +++ b/doc/test/redirect-tests.txt @@ -69,3 +69,4 @@ /nova/latest/vmstates.html 301 /nova/latest/reference/vm-states.html /nova/latest/wsgi.html 301 /nova/latest/user/wsgi.html /nova/latest/user/cellsv2_layout.html 301 /nova/latest/user/cellsv2-layout.html +/nova/latest/user/placement.html 301 /placement/latest/