IIS 7.5 - 403禁止 [英] IIS 7.5 - 403 Forbidden
问题描述
好吧,我在网上搜罗资源和应用了所有建议的解决方案。
Ok, I have scoured online resources and applied all the suggested solutions.
我R2下IIS 7.5使用ASP.NET v4.0的池设置Windows Server 2008上的一个简单的网站。我设置此功能为默认Web站点下具有不同的根的应用程序。我不断收到403禁止错误。
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.
我有:
- 安装的asp.net ASPNET_REGIIS.EXE -i(多次)
- 确信我的根目录(物理路径)有权限
IIS_IUSR和IUSR的用户。 - 确信匿名身份验证已启用并设置为应用程序池标识
- 我已经重新启动IIS多次
- 我已经检查和双重检查所有其他配置。
使用
有什么奇怪的是,我有默认Web站点下其他应用程序,它工作得很好。
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.
推荐答案
好吧,我很尴尬,但在眼前的是,需要SSL被默认选中的,这是我没有检查的地方。我想这是因为SSL绑定到默认Web站点。除去支票,它的工作。
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.
希望这会帮助别人。
这篇关于IIS 7.5 - 403禁止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!