IIS 7.5 - 403禁止 [英] IIS 7.5 - 403 Forbidden

查看:253
本文介绍了IIS 7.5 - 403禁止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我在网上搜罗资源和应用了所有建议的解决方案。

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.

我有:


    使用
  1. 安装的asp.net ASPNET_REGIIS.EXE -i(多次)

  2. 确信我的根目录(物理路径)有权限
    IIS_IUSR和IUSR的用户。

  3. 确信匿名身份验证已启用并设置为应用程序池标识

  4. 我已经重新启动IIS多次

  5. 我已经检查和双重检查所有其他配置。

有什么奇怪的是,我有默认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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆