Re: (in)sanity check on hdr_cnt

From: Willy Tarreau <w#1wt.eu>
Date: Fri, 9 Sep 2011 11:13:34 +0200


Hi Hank,
On Thu, Sep 08, 2011 at 07:12:29PM -0700, Hank A. Paulson wrote:
> Whether I have the rules in the backend or the front does not seem to
> make a difference - I tried some rules in front and back and neither
> worked.
>
> Maybe I am missing something obvious.

You're using rspadd, not reqadd ! You're trying to add a header in the response based on contents from the request. I think you copy-pasted this part from another config !

Use reqadd instead of rspadd and it will work (it does here).

Regards,
Willy Received on 2011/09/09 11:13

This archive was generated by hypermail 2.2.0 : 2011/09/09 11:30 CEST