From: Willy Tarreau Date: Sat, 9 Jan 2010 23:42:19 +0000 (+0100) Subject: [MINOR] http redirect: add the ability to append a '/' to the URL X-Git-Tag: v1.4-dev7~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=81e3b4f48d168da55c7902d51bb71212f2a817d6;p=thirdparty%2Fhaproxy.git [MINOR] http redirect: add the ability to append a '/' to the URL Sometimes it can be desired to return a location which is the same as the request with a slash appended when there was not one in the request. A typical use of this is for sending a 301 so that people don't reference links without the trailing slash. The name of the new option is "append-slash" and it can be used on "redirect" statements in prefix mode. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 2440b1b0d9..528b991e03 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -3354,6 +3354,12 @@ redirect prefix [code ]