开发者

Why do we have problems with the location tags in web.config under IIS7.5?

In IIS 7.0, having location tags in web.config works fine.

Example:

<configuration>
....
  <location path="export">开发者_如何学编程
    <system.webServer>
      <security>
        <authentication>
          <anonymousAuthentication enabled="false"/>
          <windowsAuthentication enabled="false"/>
        </authentication>
      </security>
    </system.webServer>
  </location>

We recently installed Windows 7 on our machines and in IIS 7.5 all of these location tags do not work anymore.


Can you try <system.web> instead of http://msdn.microsoft.com/en-us/library/b6x6shw7.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜