IIS 7.5でanonアクセス用のディレクトリを追加しようとしています。 Web Devでは動作しますが、IISでは動作しません。匿名ユーザーの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から匿名認証を変更しました。これは正しいと思われる。
私はこの設定を理解するための非常に良い説明とリソースを提供する人に報酬を与えます。また、それをグローバルに適用する方法は、すべてのフォルダについて知っておくと良いでしょう。