Hi

You should use hdr_dom(host) to match it. url_beg match the prefix from a
request.

Regards

--
Steven Le Roux
Le 23 nov. 2013 21:02, "Francois Stark" <[email protected]> a
écrit :

> I am trying to send http for http://adserver.example.com to go to backend
> bk_http_ads.  I used port 81 before, and this still works (backend defined
> etc), but some cellphone providers won't allow port 81 on blackberries.
>
> frontend ft_http
>         bind xxx.xxx.xxx.xxx:80
>         mode http
>         option httplog
>         acl url_adserv url_beg /adserver
>         use_backend bk_http_ads if url_adserv
>         default_backend bk_http
>
> frontend ft_http_ads
>         maxconn 20000
>         bind xxx.xxx.xxx.xxx:81
>         mode http
>         option httplog
>         default_backend bk_http_ads
>
>
>
>
> Problem:  With this setup all requests on port 80 go to the default
> backend:
> bk_http. What must I do to get  http://adserver.example.com to go to
> backend
> bk_http_ads???
>
>
>
>
>

Reply via email to