【发布时间】:2019-11-24 12:47:21
【问题描述】:
我需要在单个 Web 服务器中运行 ASP.NET 应用程序和 JAVA WEB 应用程序。因为,这两个应用程序是协调的,并且作为客户端的单个应用程序工作。请帮助我。
【问题讨论】:
标签: asp.net tomcat iis webserver
我需要在单个 Web 服务器中运行 ASP.NET 应用程序和 JAVA WEB 应用程序。因为,这两个应用程序是协调的,并且作为客户端的单个应用程序工作。请帮助我。
【问题讨论】:
标签: asp.net tomcat iis webserver
使用 url rewrite 使 asp.net (IIS) 成为特定映射的代理服务器。例如:
<system.webServer>
<rewrite>
<rules>
<rule name="Reverse Proxy to webmail" stopProcessing="true">
<match url="^example_endpoint/(.*)" />
<action type="Rewrite" url="http://localhost:8080/example_endpoint/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
【讨论】: