Iis 7 为什么我们在IIS7.5下的web.config中的位置标签有问题?
在IIS 7.0中,在web.config中使用Iis 7 为什么我们在IIS7.5下的web.config中的位置标签有问题?,iis-7,web-config,iis-7.5,Iis 7,Web Config,Iis 7.5,在IIS 7.0中,在web.config中使用location标记很好 示例: <configuration> .... <location path="export"> <system.webServer> <security> <authentication> <anonymousAuthentication enabled="false"/>
location
标记很好
示例:
<configuration>
....
<location path="export">
<system.webServer>
<security>
<authentication>
<anonymousAuthentication enabled="false"/>
<windowsAuthentication enabled="false"/>
</authentication>
</security>
</system.webServer>
</location>
....
我们最近在我们的机器上安装了Windows 7,在IIS 7.5中,所有这些
位置标记都不再起作用了。你能尝试
而不是吗?你可能会在serverfault.com上得到一个更快的答案,因为这是关于IIS配置的。安全/身份验证配置设置只适用于system.webServer
。将其放入system.web
将无效,事实上会导致错误。