From 7200a0657fd962f3ae1372a885b2ec7a219cfa85 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 10 Oct 2017 13:32:07 -0400 Subject: [PATCH] add 410 example to docs Change-Id: I8c3c8943225d7e724ade222c9f811617dc0a9807 Signed-off-by: Doug Hellmann --- doc/source/user/index.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/user/index.rst b/doc/source/user/index.rst index 9b2fb9c..35a2803 100644 --- a/doc/source/user/index.rst +++ b/doc/source/user/index.rst @@ -22,9 +22,12 @@ The ``.htaccess`` file should contain ``Redirect`` and redirect 301 /install/ /pike/install/ redirect 301 /basic-install/ /pike/install/ + # this is gone and never coming back, indicate that to the end users + redirect 410 /nova/latest/man/nova-cert.html + The test data file should include one test per line, including 3 parts: the input path, the expected HTTP response code, and the -expected output path. For example: +(optional) expected output path. For example: .. code-block:: text @@ -32,6 +35,7 @@ expected output path. For example: / 301 /pike /install/ 301 /pike/install/ /no/rule 301 /should/fail + /nova/latest/man/nova-cert.html 410 The output from ``whereto`` includes a report of any tests that do not match, including if no rules match and if multiple rules match. For