我在IIS中托管了一个站点,但每当我浏览该站点时,我都会得到404.4.我怎么解决这个问题?我已经提到了几个帖子,他们都说这个问题是关于staticfile的,但它已经被映射了.我还能做什么?这是我的iis 7.0中处理程序映射的附加图片

有任何想法吗?
编辑:
我有这个网址重写器设置:
<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>
Run Code Online (Sandbox Code Playgroud)
当我禁用此规则时,http://请求被正确处理.但是当我启用它时,我收到此错误.
又一次更新:
如果我替换它:
<action type="Rewrite" url="https://abc.com/{R:1}" />
Run Code Online (Sandbox Code Playgroud)
同
<action type="Redirect" url="https://abc.com/{R:1}" />
Run Code Online (Sandbox Code Playgroud)
这一切都很顺利.
小智 12
我遇到了完全相同的问题.我安装了应用程序请求路由组件,然后设置了启用的代理,并选择了使用URL重写来检查输入重定向url别名和我的工作的传入请求
| 归档时间: |
|
| 查看次数: |
17051 次 |
| 最近记录: |