在某些情况下,在IIS 8.5和Windows 2012 R2上设置反向代理无法正常工作

我在我们的Web服务器上以不同的端口号安装了Orchard作为CMS。 当我尝试通过本地主机访问它时,此CMS工作正常。 一切看起来很正常 不过,我想通过我们的网站https:// MyWebsite dot com / blog来宣传它,我在某种程度上是成功的。 以下是入站和出站规则的configuration:

<rewrite> <outboundRules> <rule name="ReverseProxyOutboundRule1" preCondition="ResponseIsHtml1" enabled="true" stopProcessing="true"> <match filterByTags="A, Form, Img" pattern="^http(s)?://localhost:8082/(.*)" /> <action type="Rewrite" value="http{R:1}://MyWebsite.com/{R:2}" /> <conditions> </conditions> </rule> <preConditions> <preCondition name="ResponseIsHtml1"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> </preConditions> </outboundRules> <rules> <rule name="ReverseProxyInboundRule1" enabled="true" stopProcessing="true"> <match url="blog/(.*)" /> <action type="Rewrite" url="http://localhost:8082/{R:0}" /> </rule> </rules> </rewrite> 

现在这是这个问题:

1)我可以像这样访问博客:https:// MyWebsite dot com / blog

2)我可以像这样访问SignOut链接:http:// MyWebsite dot com / blog / SignOut

3)但是,我不能像这样访问pipe理门户:https:// MyWebsite dot com / blog / Admin

然后,我必须在MyWebsite.com/blog/Admin中创build一个子文件夹,然后才能访问pipe理员门户。 这不是一个可持续的方式,因为我必须重复相同的练习来访问其他链接。 我做了什么错,怎么解决?

提前致谢! 皮疹