Dev*_*ave 17 .net web-config http-status-codes
如果这是显而易见的道歉,但我已经四处寻找并且无法找到答案.
在一个.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>
Run Code Online (Sandbox Code Playgroud)
我的猜测是它意味着所有'子'代码,404.1,404.2等等?