Created
October 10, 2018 11:49
-
-
Save sitefinitySDK/4c6148a500e8be61be0ffdc53ba04706 to your computer and use it in GitHub Desktop.
SF_10.1, SF_10.2, SF_11.0, SF_11.1, SF_11.2, SF_12.0, SF_12.1, SF_12.2, SF_13.0, SF_13.1, SF_13.2, SF_13.3 - https://docs.sitefinity.com/administration-custom-error-pages
This file contains 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
<location path="bg"> | |
<system.webServer> | |
<httpErrors errorMode="Custom"> | |
<clear /> | |
<remove statusCode="403" subStatusCode="-1" /> | |
<remove statusCode="404" subStatusCode="-1" /> | |
<remove statusCode="500" subStatusCode="-1" /> | |
| |
<error statusCode="403" path="/bg/error-pages/403" responseMode="ExecuteURL" /> | |
<error statusCode="404" path="/bg/error-pages/404" responseMode="ExecuteURL" /> | |
<error statusCode="500" path="/bg/error-pages/500" responseMode="ExecuteURL" /> | |
</httpErrors> | |
</system.webServer> | |
<system.web> | |
<customErrors mode="RemoteOnly"> | |
<error statusCode="403" redirect="~/bg/error-pages/403" /> | |
<error statusCode="404" redirect="~/bg/error-pages/404" /> | |
<error statusCode="500" redirect="~/bg/error-pages/500" /> | |
</customErrors> | |
</system.web> | |
</location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment