![]() ![]()
The httpError module checks the status code of this response and immediately returns if the status code is not greater than 400. The httpError module receives a notification if a response is about to be sent (RQ_SEND_RESPONSE notification). As soon as the request is not local, a custom error is generated. The only way to ensures this is to only generate a detailed error if the request comes from the local machine. Only trusted personnel should see a Detailed Error. This is dangerous, because Detailed Errors contain information about the inner workings of your web-site. ![]() Here is an example of the same request, but now returning a Detailed Error: They are supposed to provide information that helps to immediately fix the problem. ![]() Here is the custom error generated when you request a resource that does not exist, for example: Detailed errors are intended for local administrators and developers. They contain a brief error description of why the error happened, but nothing else. There are two things that can happen when the httpError module (custerr.dll) encounters an error:Ĭustom errors are error pages that the regular users of your web-site see. To see the raw response, use HTTP tools like WFETCH in the IIS 6.0 Resource Kit (see "Related Links"). Go to the "Tools" menu, select "Internet Options", click the "Advanced" tab and find the "Show friendly HTTP error messages" check box and uncheck it. It is important to note that browsers like IE often replace errors returned from a web server with their own errors.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |