Why RewritePath changes the Browser Url?
问题 I have an ASP.NET 4 HttpModule (see code below). When the url path starts with "/1.0" I want Cassini/IIS to go to MyService.svc. However, I don't want to show "MyService.svc" to the user (i.e. no update to the url in the browser). I want the user to see "www.something.com/1.0". I was pretty sure that RewriteUrl isn't supposed to change the browser url, but in my case it does. Any idea why? public void Init(HttpApplication context) { context.BeginRequest += delegate { HttpContext ctx =