.@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
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
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
> 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
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
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
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 '
7 matches
Mail list logo