I'm confused over the behaviour of the url criteria in layer 7 acls. 

If I have a definition of the form:

        acl xxx_host     hdr(Host)      -i xxx.example.com

then something like this works fine:

        use_backend xxx         if xxx_host

If I try something like this:

        acl xxx_url      url_beg        -i http://xxx.example.com
        use_backend xxx         if xxx_url

then it fails.

I've tried:

        acl xxx_url      url_sub        -i xxx.example.com
        acl xxx_url      url_dom        -i xxx.example.com

Same result....I'm missing something obvious here, I just can't see it :-(

My ultimate goal is to have:

        use_backend xxx         if xxx_url xxx_host

which I think makes sense for a browser request that has not been fiddled
with...if I could test it I would be able to find out!

Any insights appreciated :-)

Cheers
andrew


Reply via email to