开发者

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

开发者 https://www.devze.com 2023-02-20 18:41 出处:网络
In IIS 7.0, having location tags in web.config works fine. Example: <configuration> .... <location path=\"export\">开发者_如何学编程

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

精彩评论

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