title: redirect to root for sepcific url path on HAproxy
body: <p>I have Haproxy configuration for proxying website, but i have some problem to redirect url to root if have some specifics url path</p>
  
  <p>I need redirecting user to root if access /abc path
  Example Code</p>
  
  <pre><code>frontend        http-in
      bind            *:9001
      option          httplog
      acl mobile_ua   hdr_sub(user-agent) -i -f /etc/haproxy/user-agent-mobile.lst
      acl web_load    path_beg /abc /def
      use_backend     b_mob if mobile_ua
      default_backend b_web
  backend         b_mob
      option httplog
      mode http
      server s1 mobile.domain.com:8080
  backend         b_web
      mode http
      server s1 web.domain.com:8080
  </code></pre>
  
  <p>I want if url path begin with /abc or /def (acl <strong>web_load</strong>) how to make it redirecting to root of url path (remove path url)</p>
  
  <p>Thank you</p>