IIS 7.5 MVC 2.0 ASP.NET 4.0
If my MVC site getting external request for any not existed files, e.g SomePage.aspx is there any ways to redirect such request to any controller/action.
I am using elmah and it is throwing errors when such kind of requests coming.
Also i did add routes.IgnoreRoute("SomePage.aspx") in global.asax.cs
to ignore this requests the same as i add to ignore favicon.ico but for SomaPage.aspx it is won't work, elmah throwing errors anyway.
So there is three questions/solutions i would be happy to get the answers:
1) How to redirect this request to existed controller/action
2) How to Ignore such kind of requests
3) How to turn off "Verify that file exists" on IIS 7.5