How can IIS 7.5 have the error pages for a site reset to the default configuration?
Posted
by
Sn3akyP3t3
on Pro Webmasters
See other posts from Pro Webmasters
or by Sn3akyP3t3
Published on 2012-06-30T01:25:10Z
Indexed on
2012/06/30
3:24 UTC
Read the original article
Hit count: 247
A mishap occurred with web.config to accommodate a subsite existing. I made use of “<location path="." inheritInChildApplications="false">”
. Essentially it was a workaround put in place for nested web.config files which was causing a conflict. The result was that error pages were not being handled properly. Error 500 was being passed to the client for every type of error encountered.
Removal of the offending inheritInChildApplications tag from the root web.config restored normal operations of most of the error handling, but for some reason error 503 is a correct response header, but the IIS server is performing the custom actions for error 403.4 which is a redirect to https.
I'm looking to restore defaults for error pages so that the behavior once again is restored. I then can re-add customizations for the error pages.
© Pro Webmasters or respective owner