 <p>I found <a href="http://stackoverflow.com/questions/273447/how-to-ignore-route-in-asp-net-forms-url-routing">How to ignore route in asp.net forms url routing</a> which might work for this, it uses the <a href="http://msdn.microsoft.com/en-us/library/system.web.routing.stoproutinghandler.aspx" rel="nofollow noreferrer">StopRoutingHandler</a> class, and as long as the requests to .php do run through the routing this will probably work.</p> <p>If the .php requests are not going through the routing handler then this probably wouldn't work.</p>