ScriptResource.axd-500 URL重写模块错误

时间:2018-08-16 08:58:34

标签: asp.net iis url-rewriting reverse-proxy

我们正在尝试从asp.net应用程序https://App_A/http://App_B/实施反向代理入站规则

站点App_A-web.config重写规则

 <rules>
    <rule name="ReverseProxyInbound" enabled="true" stopProcessing="true">
       <match ="^webapp/(*.)" />
       <action type="Rewrite" logRewrittenUrl="true" url="http://App_B/webapp/{R:1}" />
   </rule>
</rules>

出站规则:

 <rule name="Rewrite Relative path">
    <match filterbyTag="A,Area,Base,Form,Frame,Head,IFrame,Input,Link,Script" pattern="http://App_B/webapp/(.*)" />
    <action type="Rewrite" value="https://App_A/Webap/{R:1}" />
 </rule>

ScriptResource.axd似乎遇到500 URL重写模块错误,如下所示:

ScriptResource.axd

试图同时使用web.config重写规则,但是已经碰壁了,不熟悉重写内容

0 个答案:

没有答案
相关问题