Christopher Faulet
554c0ebffd
MEDIUM: http-rules: Support an optional error message in http deny rules
...
It is now possible to set the error message to use when a deny rule is
executed. It may be a specific error file, adding "errorfile <file>" :
http-request deny deny_status 400 errorfile /etc/haproxy/errorfiles/400badreq.http
It may also be an error file from an http-errors section, adding "errorfiles
<name>" :
http-request deny errorfiles my-errors # use 403 error from "my-errors" section
When defined, this error message is set in the HTTP transaction. The tarpit rule
is also concerned by this change.
2020-01-20 15:18:46 +01:00
..
2017-10-31 11:36:12 +01:00
2020-01-20 15:18:45 +01:00
2019-05-20 21:14:14 +02:00
2019-07-18 10:45:08 +02:00
2016-03-15 22:11:52 +01:00
2014-03-17 18:06:07 +01:00
2020-01-17 18:30:36 +01:00
2019-07-05 14:26:15 +02:00
2017-11-07 11:10:24 +01:00
2019-08-09 10:11:38 +02:00
2016-02-09 14:53:15 +01:00
2020-01-17 18:30:37 +01:00
2019-06-05 08:33:35 +02:00
2019-04-23 11:41:52 +02:00
2019-09-17 10:18:54 +02:00
2019-12-27 16:38:47 +01:00
2019-11-15 13:43:08 +01:00
2018-12-11 17:09:31 +01:00
2019-11-15 13:43:08 +01:00
2015-04-06 11:23:56 +02:00
2019-12-11 16:46:16 +01:00
2016-11-24 21:35:10 +01:00
2019-08-21 14:32:09 +02:00
2020-01-20 15:18:45 +01:00
2019-07-19 09:18:27 +02:00
2020-01-20 15:18:46 +01:00
2020-01-20 15:18:45 +01:00
2019-01-02 20:22:17 +01:00
2012-02-21 22:27:27 +01:00
2009-10-01 11:19:37 +02:00
2009-10-01 11:19:37 +02:00
2017-10-31 13:58:31 +01:00
2019-12-11 15:51:37 +01:00
2019-09-17 10:18:54 +02:00
2015-08-20 17:13:46 +02:00
2017-10-31 18:03:23 +01:00
2019-12-11 14:26:53 +01:00
2019-05-22 11:50:48 +02:00
2017-07-04 10:45:53 +02:00
2015-04-06 11:23:56 +02:00
2019-06-05 08:42:33 +02:00
2009-01-25 13:49:53 +01:00
2019-04-30 15:10:17 +02:00
2018-09-12 07:20:17 +02:00
2019-12-27 16:38:43 +01:00
2016-04-14 11:18:22 +02:00
2019-04-01 07:44:56 +02:00
2019-07-24 16:45:02 +02:00
2019-09-30 04:11:36 +02:00
2018-11-26 19:50:32 +01:00
2016-12-22 23:26:38 +01:00
2019-08-27 17:14:19 +02:00
2019-10-31 08:47:31 +01:00
2019-09-23 18:16:08 +02:00
2019-07-04 14:28:18 +02:00
2019-04-01 07:44:56 +02:00
2018-11-26 19:50:32 +01:00
2019-08-27 17:14:19 +02:00
2019-05-07 22:16:41 +02:00
2019-11-21 17:48:11 +01:00
2019-10-10 11:30:07 +02:00
2019-06-05 08:33:35 +02:00
2019-10-29 14:15:20 +01:00
2019-11-06 10:14:32 +01:00
2020-01-10 16:56:59 +01:00
2017-10-31 11:36:12 +01:00
2006-06-29 18:54:54 +02:00
2019-11-06 10:14:32 +01:00
2016-11-09 22:57:01 +01:00