Created
December 7, 2018 12:38
-
-
Save m0veax/ce861dfdeebee90e91dba44ead07640b to your computer and use it in GitHub Desktop.
IIS Custom 404 Redirect
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<httpErrors errorMode="Custom"> | |
<remove statusCode="404" /> | |
<error statusCode="404" path="/my_path/" responseMode="Redirect"/> | |
</httpErrors> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment