2013-09-24 66 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插件啓用

再次感謝。