我正在尝试在IIS 7.5中为anon访问添加一个目录。它适用于Web Dev但不支持IIS 7.5为匿名用户授权目录IIS 7.5?
我目前在目录中使用此web.config。这是样式表目录:
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</configuration>
更新:
我去了文件夹,并验证下,我从IIS_USR改变匿名身份验证池。这似乎纠正了它。
我会奖励任何为了解此设置提供了非常好的解释和资源的人。另外,如何将其应用于全球,对于所有文件夹而言都是非常有用的。