2012-08-15 20 views
14

道歉,如果這是顯而易見的,但我已經搜索周圍,無法找到答案。爲什麼在Web.config中將subStatusCode設置爲-1?

.net Web.config文件中,有誰能告訴我subStatusCode到-1的設置是什麼?

<httpErrors errorMode="Custom" existingResponse="Replace"> 
     <clear /> 
     <remove statusCode="404" subStatusCode="-1" /> 
     <error statusCode="404" prefixLanguageFilePath="" path="/Error.aspx" responseMode="ExecuteURL" /> 
</httpErrors> 

我的猜測是,它意味着所有的'子'代碼,404.1,404.2 ..等?

回答

相關問題