title: Istio VirtualService rewrite prefix works like exact match
body: <p>I am using istio and running a service on path "/" and "/app" and both "/" and "/app" will serve same page. Achieving this, I have added rewrite rule on "/app" to "/" and it works fine.</p>
  
  <p>But when I am trying to hit "/app/login", rewrite do not serve page "/login".</p>
  
  <pre><code>    - match:
        - uri:
            prefix: /app
        rewrite:
          uri: /
        route:
        - destination:
            host: app-svc
            port:
              number: 8000
  </code></pre>