Created
May 5, 2014 01:11
-
-
Save stevejay/260555ecd63f0846479f 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
<system.webServer> | |
... | |
<httpErrors errorMode="Custom" existingResponse="Auto"> | |
<remove statusCode="403" subStatusCode="14"/> | |
<error statusCode="403" subStatusCode="14" | |
responseMode="ExecuteURL" path="/path/to/Error/Forbidden"/> | |
<remove statusCode="404"/> | |
<error statusCode="404" responseMode="ExecuteURL" | |
path="/path/to/Error/NotFound"/> | |
</httpErrors> | |
</system.webServer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment