commit | 81e3b4f48d168da55c7902d51bb71212f2a817d6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jan 10 00:42:19 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 10 00:42:19 2010 +0100 |
tree | e9277afc640f79e4466c314a87c4c15f1da3337e | |
parent | dcb75c4a83246f4907cdd5ffac9cbd7b71732816 [diff] |
[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.