commit | b463dfb2de3d80f366d46fc3b4a8e58cbc890d0e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Jun 07 23:08:56 2008 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Jun 07 23:08:56 2008 +0200 |
tree | 434afe62a584051dc2d83b1b61fdfbb80f60fc04 | |
parent | 8001d6162e7e9fc312d5d9716c45bc972931e44d [diff] |
[MEDIUM] add support for conditional HTTP redirection A new "redirect" keyword adds the ability to send an HTTP 301/302/303 redirection to either an absolute location or to a prefix followed by the original URI. The redirection is conditionned by ACL rules, so it becomes very easy to move parts of a site to another site using this. This work was almost entirely done at Exceliance by Emeric Brun. A test-case has been added in the tests/ directory.