\require{AMSmath}

httpErrors

The element httpErrors also can contain an errorMode attribute that you can use to control the level of detail that IIS returns to a browser when an HTTP error occurs.

You can set the errorMode attribute to DetailedLocalOnly, which is the default setting, or you can set it to Custom or Detailed.

If you specify DetailedLocalOnly, or if you do not specify an errorMode value, IIS returns detailed error information only to the browser on the local server and a custom error message to a browser on an external computer. If you set the errorMode value to Custom, IIS returns only custom error messages to all requesting browsers.

If you set the errorMode value to Detailed, IIS returns detailed error information to all requesting browsers. The default DetailedLocalOnly value allows you to troubleshoot HTTP errors on the local server while not exposing sensitive information to external browsers.


©2004-2024 WisFaq