小编man*_*net的帖子

错误 404.4 您正在寻找的资源没有与之关联的处理程序

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>
Run Code Online (Sandbox Code Playgroud)

我想重定向mywebsite.comhttp://localhost:3000

  • mywebsite.comiis和主机文件中
  • http://localhost:3000 是一个运行网站的nodejs
  • 我安装Application Request Routingurl-rewrite
  • 我在站点文件夹上设置了 iusr 权限
  • 重定向适用于我的 Windows Server 2016,但不适用于 win 10

node.js iis-10

7
推荐指数
1
解决办法
5263
查看次数

标签 统计

iis-10 ×1

node.js ×1