Re: Haproxy ACL path_reg compare number?

2020-03-12 Thread System Admin - GRNconnect
Hi, Thanks. That worked ! On Wed, Mar 11, 2020 at 6:49 PM Tim Düsterhus mailto:t...@bastelstu.be>> wrote: Hi "System Admin" Am 11.03.20 um 06:22 schrieb System Admin - GRNconnect: > The paths are like this: > > https://example.com/10001/5235723gdh.jpg > > https://example.com/10007/83678

Re: Haproxy ACL path_reg compare number?

2020-03-11 Thread Tim Düsterhus
Hi "System Admin" Am 11.03.20 um 06:22 schrieb System Admin - GRNconnect: > The paths are like this: > > https://example.com/10001/5235723gdh.jpg > > https://example.com/10007/836789370md.jpg > > We want to extract the number in the middle and compare. > > I tried with > > acl

Haproxy ACL path_reg compare number?

2020-03-10 Thread System Admin - GRNconnect
The paths are like this: https://example.com/10001/5235723gdh.jpg https://example.com/10007/836789370md.jpg We want to extract the number in the middle and compare. I tried with acl image1 path_reg \/[0-9]*\/.* le 10005 acl image2 path_reg \/[0-9]*\/.* ge 10006