The paths are like this:

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

        use_backend image1 if image1
        use_backend image2 if image2

But it is not working. How can I make this working?

I know i can probably use lua script but I rather want to achieve this using 
ACL only if that is possible.

Thank You.

Reply via email to