0

We have a couple of internal applications behind firewall which is not accessible to internet. We are trying to setup an internet accessible portal (which can also access our internal applications) and trying to provide menus to these two applications and display them via iframes.

Here are the application details:

  • Portal - Tomcat+Apache

  • Internal Applications - one is a node.js app and the other is a J2ee+tomcat app

  • Host servers - different for all the three applications

We are facing two issues here:

1) The internet accessible portal is secured (HTTPS). But, the internal applications are not secured ie.,HTTP. so, the browser shows the warning message "some of the content are unsecured" and blocks the application. Is there a programmatic way to suppress this warning without manually changing the browser settings?

2) The internal applications are behing the firewall, but our portal is internet accessible as well as can access the internal applications. Currently the application is not displayed through internet. How should we implement the portal so that we can byepass the firewall?

Appreciate your inputs.

4

1 回答 1

0

在门户服务器上的 Apache 中配置反向代理以将请求转发到您的内部应用程序,并让 Apache 处理 https。这应该解决 1) 和 2),因为所有内容都可以通过 https 访问。

Apache 中的反向代理可以使用 Apache 模块mod_proxy来完成。您可以在 Internet 上找到许多示例,但这里有一个简单的示例:

<VirtualHost *:443>
    ...
    ProxyPass /foo http://internalserver/bar
    ProxyPassReverse /foo http://internalserver/bar
    ...
</VirtualHost>

如果您将其放在门户的 Apache 配置中,它将使内部应用程序http://internalserver/bar可以https://yourportal/foo从您的门户访问。

是一篇有更多细节的好文章。

于 2014-08-05T17:08:53.047 回答