<httpErrors> Configuration

Following is the IIS 7.0 custom error section that you get on a clean install.

<httpErrors> <error statusCode="401" prefixLanguageFilePath="c:\inetpub\custerr" path="401.htm" /> <error statusCode="403" prefixLanguageFilePath="c:\inetpub\custerr" path="403.htm" /> <error statusCode="404" prefixLanguageFilePath="c:\inetpub\custerr" path="404.htm" /> <error statusCode="405" prefixLanguageFilePath="c:\inetpub\custerr" path="405.htm" /> <error statusCode="406" prefixLanguageFilePath="c:\inetpub\custerr" path="406.htm" /> <error statusCode="412" prefixLanguageFilePath="c:\inetpub\custerr" path="412.htm" /> <error statusCode="500" prefixLanguageFilePath="c:\inetpub\custerr" path="500.htm" /> <error statusCode="501" prefixLanguageFilePath="c:\inetpub\custerr" ...

Get Internet Information Services (IIS) 7.0 Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.