Created
May 5, 2014 21:26
-
-
Save stevejay/7050a8d411a86a31bb5a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To allow IIS to execute "/notfound" when requesting something which is disallowed, | |
// such as /bin or /app_data. | |
RouteTable.Routes.MapRoute( | |
"NotFound", | |
"notfound", | |
new { controller = "NotFound", action = "NotFound" }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment