[MEDIUM] errorfile: use a local file to feed error messages
authorWilly Tarreau <w@1wt.eu>
Sun, 10 Jun 2007 22:29:26 +0000 (00:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 Jun 2007 22:29:26 +0000 (00:29 +0200)
commit3f49b302842800b9388366420b59cf37ab9f9859
tree81d80cb5588907d75841877b8428739ec958a618
parent1ad7c6dd857ee59097926953dd782c5edd3eb7b2
[MEDIUM] errorfile: use a local file to feed error messages

It is now possible to read error messages from local files,
using the 'errorfile' keyword. Those files are read during
parsing, so there's no I/O involved. They make it possible
to return custom error messages with custom status and headers.
12 files changed:
doc/haproxy-en.txt
doc/haproxy-fr.txt
examples/errorfiles/400.http [new file with mode: 0644]
examples/errorfiles/403.http [new file with mode: 0644]
examples/errorfiles/408.http [new file with mode: 0644]
examples/errorfiles/500.http [new file with mode: 0644]
examples/errorfiles/502.http [new file with mode: 0644]
examples/errorfiles/503.http [new file with mode: 0644]
examples/errorfiles/504.http [new file with mode: 0644]
examples/errorfiles/README [new file with mode: 0644]
examples/haproxy.cfg
src/cfgparse.c