<httpErrors errorMode="Custom">
<remove statusCode="403" subStatusCode="-1" />
<error statusCode="403" prefixLanguageFilePath="ErrorPages" path="403.htm" responseMode="File" />
</httpErrors>
像这样的Webconfig。我的目录中有403.htm。但当ı否认一个ıp并尝试打开。只是写你没有权限查看这个目录或页面。
答案 0 :(得分:0)
allowAbsolutePathsWhenDelegated="true"
我已在IIS管理器中修复配置编辑器的问题。