【发布时间】:2018-10-25 15:32:23
【问题描述】:
HTTP 错误 404.4 - 未找到 您正在寻找的资源没有 有一个与之关联的处理程序。
web.config
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="ReverseProxyInboundRule1" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:3000/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</location>
</configuration>
我想将mywebsite.com 重定向到http://localhost:3000
-
mywebsite.com在iis和主机文件中 -
http://localhost:3000是运行网站的nodejs - 我安装了
Application Request Routing和url-rewrite - 我在站点文件夹上设置了 iusr 权限
- 重定向在我的 windows server 2016 上有效,但在 win 10 上无效
【问题讨论】:
-
某人??????????