繁体   English   中英

是否可以在 IIS 服务器中运行 asp.net 和 java web 应用程序?

[英]Is it possible to run asp.net and java web applications in the IIS server?

我需要在单个 Web 服务器中运行 ASP.NET 应用程序和 JAVA WEB 应用程序。 因为,这两个应用程序是协调的,并且作为客户端的单个应用程序工作。 请帮助我。

使用 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>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM