> On Nov 9, 2016, at Nov 9, 4:45 AM, Azam Mohammed <[email protected]> wrote:
> 
> Hello,
> 
>  
>  
> 
> acl  url_subdomain   hdr_dom(host)   -i      subdomain.domain.com 
> <http://subdomain.domain.com/>
> acl  url_test                 hdr_dom(host)   -i      
> test.subdomain.domain.com <http://test.subdomain.domain.com/>
>  
>  
> use_backend             subdomain                 if url_subdomain
> 
> use_backend             test                               if url_test
> 
>  
>  
> Both the subdomain has different web pages. Now if we enter 
> test.subdomain.domain.com <http://test.subdomain.domain.com/> in the browser 
> it goes into subdomain.domain.com <http://subdomain.domain.com/> backend. We 
> have no idea what is causing this issue.
> 
>  


Both the url_subdomain and url_test acts match the string 
‘subdomain.domain.com’.

Make the ACL match be more specific or put the “use_backend test” first since 
it is already more specific.

-Bryan


Reply via email to