IIS 7.5 - 403 禁止 [英] IIS 7.5 - 403 Forbidden
问题描述
好的,我已经搜索了在线资源并应用了所有建议的解决方案.
Ok, I have scoured online resources and applied all the suggested solutions.
我正在使用ASP.NET v4.0"池在 IIS 7.5 下的 Windows Server 2008 R2 上建立一个简单的网站.我将其设置为默认网站下具有不同根的应用程序.我不断收到 403 Forbidden 错误.
I am setting up a simple website on Windows Server 2008 R2 under IIS 7.5 using the "ASP.NET v4.0" pool. I am setting this up as an application under Default Web Site with a different root. I keep getting the 403 Forbidden error.
我有:
- 使用 aspnet_regiis.exe -i(多次)安装 asp.net
- 确保我的根目录(物理路径)具有以下权限IIS_IUSR"和IUSR"用户.
- 确保匿名身份验证"已启用并设置为应用程序池身份"
- 我已经多次重启 IIS
- 我已经检查并仔细检查了所有其他配置.
奇怪的是,我在默认网站下有另一个应用程序,它运行良好.
What's strange is that I have another application under Default Web Site and it works just fine.
任何建议都会有所帮助.这应该不会太难,除非我遗漏了一些明显的东西.
Any suggestions will help. This shouldn't be so hard unless I am missing something obvious.
推荐答案
好吧,我很尴尬,但我的视线是默认选中了Require SSL",而那是我没有选中的地方.我猜这是因为 SSL 绑定到默认网站.删除该检查使其工作.
Ok, I am quite embarrassed but the over sight was that "Require SSL" was checked by default and that is the place I did not check. I guess it is because an SSL is bound to the Default Web Site. Removing that check made it work.
希望这会对其他人有所帮助.
Hopefully this will help someone else.
这篇关于IIS 7.5 - 403 禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!