Re: AW: Delete response headers unless condition give me a warning

2015-09-14 Thread Alex
.@public.gmane.org; haproxy-jklxk3lifipg9huczpv...@public.gmane.org> Subject: AW: Delete response headers unless condition give me a warning> Date: Fri, 13 Sep 2013 11:18:08 +> > Me too, I love hearing dirty things.> That doesn't mean I'll do them... > &g

RE: AW: Delete response headers unless condition give me a warning

2013-09-14 Thread Ricardo F
uot;J" ;) Regards, Ricardo F. > From: andreas.m...@drumedar.de > To: bed...@gmail.com; w...@1wt.eu > CC: ri...@hotmail.com; haproxy@formilux.org > Subject: AW: Delete response headers unless condition give me a warning > Date: Fri, 13 Sep 2013 11:18:08 + > > Me too, I lo

AW: Delete response headers unless condition give me a warning

2013-09-13 Thread Andreas Mock
etreff: Re: Delete response headers unless condition give me a warning > If this is the case, I do have a solution that we elaborated a few weeks > ago when discussing with Bertrand (who confirmed it worked). A very dirty > one. I'd prefer to explain it only if absolutely needed though! &g

Re: Delete response headers unless condition give me a warning

2013-09-12 Thread Baptiste
> If this is the case, I do have a solution that we elaborated a few weeks > ago when discussing with Bertrand (who confirmed it worked). A very dirty > one. I'd prefer to explain it only if absolutely needed though! > > Willy > Actually, I'm interested :) Baptiste

Re: Delete response headers unless condition give me a warning

2013-09-12 Thread Willy Tarreau
On Thu, Sep 12, 2013 at 03:07:17PM +0200, Baptiste wrote: > Hi Ricardo, > > I guess this is your server which sends the X-JSON header. > So you can match it like this: > acl header_app shdr_cnt(X-JSON) gt 0 > rspidel ^X-.* unless header_app > > or > acl header_app res.hdr_cnt(X-JSON) gt 0 > r

Re: Delete response headers unless condition give me a warning

2013-09-12 Thread Baptiste
Hi Ricardo, I guess this is your server which sends the X-JSON header. So you can match it like this: acl header_app shdr_cnt(X-JSON) gt 0 rspidel ^X-.* unless header_app or acl header_app res.hdr_cnt(X-JSON) gt 0 rspidel ^X-.* unless header_app depending on your HAProxy version, res.hdr_cnt

Delete response headers unless condition give me a warning

2013-09-10 Thread Ricardo F
Hello, I'm trying to delete some headers in a frontend based on a condition, but when i set the acl: acl header_app hdr_cnt(X-JSON) gt 0 rspidel ^X-.* unless header_app A warning message is print: acl 'header_app' will never match because it only involves keywords that are incompatible with '