I've replaced an old PHP web site with a new ASP.NET MVC web site. The old page addresses no longer work. I want each to 301 (Moved Permanently) redirect to specific new addresses.
But, IIS 7 seems to intercept many such requests before they get to my application. I want to handle the error logging and redirections in the Application_Error() method of my Global.asax file rather than have IIS serve up generic error pages.
How must I modify IIS to allow this?