<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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.