On Thu, Feb 28, 2013 at 7:28 PM, Vivek Malik <[email protected]> wrote:
> Hi,
>
> I see that it is possible to haproxy sticky on a header value, path, query
> parameter. It seems that haproxy does process the request URI to extract
> query parameters. Is is possible to use stick tables with stickyness on a
> value extracted from header?
>
> Eg: HTTP request includes header
>
> X-Custom-Authorization: 2-y89nfsjdhns
>
> Is is possible to make haproxy extract 2 i.e. (^(\d+)-.+) from the custom
> header and stick on the extracted value.
>
> Thanks,
> Vivek

Hi Vivek,

Better using the below acl:
hdr_beg(X-Custom-Authorization) 2

you can add as many values as you want.

Baptiste

Reply via email to