Skip to content

Instantly share code, notes, and snippets.

@stevejay
Created May 5, 2014 20:50
Show Gist options
  • Select an option

  • Save stevejay/eb8f2cf2f2e32d761a53 to your computer and use it in GitHub Desktop.

Select an option

Save stevejay/eb8f2cf2f2e32d761a53 to your computer and use it in GitHub Desktop.
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="500" />
<error
statusCode="500"
path="/MvcErrorHandling/Error/HttpErrors500"
responseMode="ExecuteURL" />
</httpErrors>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment