commit | 9c33612f53486105421eda8b2a50e09683b2f0ef | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 13 00:45:24 2008 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 13 00:55:49 2008 +0100 |
tree | 307ae31035cf380ecaa8de128ea30bf1f0f8435d | |
parent | 7a58a72e850cebf04743945108c75cd1bd07d5dd [diff] |
[MEDIUM] completely implement the server redirection method Now when a server has "redir <prefix>" on its config line, any HEAD or GET request addressing it will lead to a 302 with Location set to "<prefix>" immediately followed by the relative URI of the incoming request. This makes it very easy to send redirect to browsers to check remote static servers, as well as to provide redirection for remote sites when the local one is down.