IIS 7.5中的enableProxyMode for ipsecurity规则是禁止的(Windows 7)

时间:2015-10-01 00:47:17

标签: security iis windows-7 web-config iis-7.5

以下配置适用于IIS8(Windows 2012),reportedly适用于IIS7 +,但是在我的本地Windows 7计算机上,此配置会导致WebServiceHandlerFactory-Integrated-4.0抛出错误0x8007000d - 无法识别的属性& #39; enableProxyMode'

如果我删除该属性,则没有投诉且ip安全性正常。但是,尽管文档说的话,似乎这个功能在Windows 7 / IIS7.5上是不行的。这是真的吗?

<location path="MySecrets.asmx">
  <system.webServer>
    <security>
      <ipSecurity allowUnlisted="false" enableProxyMode="true">
        <add ipAddress="127.0.0.1" allowed="true" />
        etc...
      </ipSecurity>
    </security>
  </system.webServer>
</location>

1 个答案:

答案 0 :(得分:0)

错误消息本身非常明显,不管支持哪个文档,都不支持此属性。

同时,IIS.net文档只是意味着IIS 7+支持该部分。它没有达到描述哪个版本的IIS支持的属性级别。