我正在使用Microsoft IIS来代理WebLogic服务器的请求。
I am using Microsoft IIS to proxy requests for WebLogic server.
我在IIS上启用了https。
I've enabled https on IIS.
[webserver gives error that 'page must be viewed on https' and webserver gives content of Default.htm file]我在WebLogic Server上启用了https。
I've enabled https on WebLogic Server.
[weblogic:7001/myapp/test.jsp and weblogic:7002/myapp/test.jsp both works]通信黑白IIS和WebLogic Server在https上。
Communication b/w IIS and WebLogic Server is on https.
问题是当我访问应用程序时https使用webserver URL (webserver/myapp/test.jsp)我得到响应(test.jsp的内容),但是当我打印request.getRequestURL()在过滤器中,我得到http URL (http://webserver/myapp/test.jsp)。这在执行sendRedirect()时会导致问题...
The issue is when I access application on https using webserver URL (webserver/myapp/test.jsp) I do get response (content of test.jsp) but when I print request.getRequestURL() in a filter, I get http URL (webserver/myapp/test.jsp). This is causing a issue while doing sendRedirect()...
为什么我的https网址会转换为http?有什么想法?
Why are my https URLs getting converted to http? Any idea?
谢谢。
推荐答案以下解决了我的问题:
Following solved my issue:
如果插件正在与WebLogic应用程序服务器通信,请执行以下操作 - 环境>服务器>选择您的服务器>常规>高级>检查WebLogic插件已启用
If a plug-in is communicating to WebLogic application server then do following – Environments > Servers > select your server > General > Advanced > check WebLogic Plug-In Enabled
再次感谢。
更多推荐
https转换为http
发布评论