【问题标题】:HTTP Error 404.4 - Not Found The resource you are looking for does not have a handler associated with itHTTP 错误 404.4 - 未找到您要查找的资源没有与之关联的处理程序
【发布时间】:2011-08-03 03:43:11
【问题描述】:

我在 IIS 中托管了一个站点,但每当我浏览到该站点时,我都会得到 404.4。我该如何解决这个问题?我已经提到了几篇文章,他们都说问题是关于静态文件的,但它已经被映射了。我还能做什么?这是我的 iis 7.0 中处理程序映射的附件图片

有什么想法吗?

编辑:

我已经设置了这个 url 重写器:

<rules>


       <rule name="Imported Rule 1-1" enabled="true" stopProcessing="true">
          <match url="^(.*)$" ignoreCase="false" />
          <conditions logicalGrouping="MatchAll">
                        <add input="{SERVER_PORT}" pattern="80" />


          </conditions>
          <action type="Rewrite" url="https://abc.com/{R:1}" />
        </rule> 

当我禁用此规则时,http:// 请求得到正确处理。但是当我启用它时,我得到了这个错误。

又一次更新:

如果我替换这个:

<action type="Rewrite" url="https://abc.com/{R:1}" />

<action type="Redirect" url="https://abc.com/{R:1}" />

一切都很顺利。

【问题讨论】:

标签: asp.net iis iis-7


【解决方案1】:

我遇到了完全相同的问题。我安装了应用程序请求路由组件,然后启用了代理并选择了使用 URL 重写来检查输入重定向 URL 别名的传入请求,我的工作

【讨论】:

猜你喜欢
  • 2018-10-25
  • 1970-01-01
  • 2013-01-20
  • 1970-01-01
  • 2020-06-02
  • 1970-01-01
相关资源
最近更新 更多