add 410 example to docs
Change-Id: I8c3c8943225d7e724ade222c9f811617dc0a9807 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
18eb1ae36b
commit
7200a0657f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user