Hi *,

2010/4/28 Andrew Commons <[email protected]>:
>        acl xxx_url      url_beg        -i http://xxx.example.com
>        acl xxx_url      url_sub        -i xxx.example.com
>        acl xxx_url      url_dom        -i xxx.example.com

The Url is the part of the URI without the host :)
A http request looks like

 GET /index.html HTTP/1.0
 Host: www.example.com

so you can't use url_beg to match on the host unless you somehow
construct your urls to look like
 http://www.example.com/www.example.com/
but don't do that :)

so what you want is something like chaining
acl xxx_host hdr(Host) ....
acl xxx_urlbe1 url_begin /toBE1/
use_backend BE1 if xxx_host xxx_urlbe1
?

Cheers

  Beni.

Reply via email to