[MINOR] add configuration support for "redir" server keyword
authorWilly Tarreau <w@1wt.eu>
Tue, 12 Feb 2008 22:16:33 +0000 (23:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 12 Feb 2008 23:55:49 +0000 (00:55 +0100)
commit7a58a72e850cebf04743945108c75cd1bd07d5dd
treea25862b798879519b1b4be03da2064e1ec9cc082
parentd2a4aa2c098dce23900b5cafa7df393209755cfc
[MINOR] add configuration support for "redir" server keyword

The servers now support the "redir" keyword, making it possible to
return a 302 with the specified prefix in front of the request instead
of connecting to them. This is generally useful for multi-site load
balancing but may also serve in order to achieve very high traffic
rate.

The keyword has only been added to the config parser and to structures,
it's not used yet.
include/types/server.h
src/cfgparse.c