2013-09-24 58 views
0

我正在使用Microsoft IIS代理WebLogic服务器的请求。https转换为http

我已经在IIS上启用了https。

[http://webserver gives error that 'page must be viewed on https' and https://webserver gives content of Default.htm file] 

我已经在WebLogic Server上启用了https。

[http://weblogic:7001/myapp/test.jsp and https://weblogic:7002/myapp/test.jsp both works] 

通讯b/w IIS和WebLogic Server位于https上。

的问题是,当我使用网络服务器的URL (https://webserver/myapp/test.jsp)对HTTPS访问应用程序我得到响应(test.jsp的内容),但是当我打印request.getRequestURL()在过滤器中,我得到的HTTP URL (http://webserver/myapp/test.jsp)。这在做sendRedirect()时会导致问题...

为什么我的https URL转换为http?任何想法?

谢谢。

+0

也许这个答案会帮助你开始:http://stackoverflow.com/questions/18986399/https-getting-converted-to-http –

+0

嗨,你错误地引用了我的问题。谢谢。 –

+1

哎呦 - 意思是这个。 http://stackoverflow.com/questions/3832785/weblogic-application-switches-back-to-http-after-secure-login-via-https –

回答

0

继解决了我的问题:

如果一个插件通信到WebLogic应用服务器然后执行以下 - 环境>服务器>选择您的服务器>常规>高级>检查WebLogic插件启用

再次感谢。