Weblogic 将 https 重定向到 http
Weblogic redirecting https to http
我有一个部署在 weblogic 中的 Web 应用程序,可以使用 https://host:port/appname/index.jsp
访问。当用户访问它时,首先会出现第 3 方身份验证页面,并在验证用户后重定向到上面 url。这很好用。同样,如果某人在身份验证后使用 https://host:port/appname/
访问该应用程序,他将被正确重定向
但是,如果我访问 url https://host:port/appname
(注意末尾没有尾随 /),weblogic 会重定向到 http 协议,即 http://host:port/appname,显然无法加载.
我可以使用 weblogic 的访问日志确认重定向。知道为什么会这样吗?我正在使用 Weblogic 12.2.1.3。请注意,我在 web.xml 中没有任何欢迎文件列表条目(如果我没记错的话,index.jsp 是 weblogic 中默认的欢迎文件之一)。
对 WebLogic Server (WLS) 的请求通常通过 Web 服务器或负载平衡器,它们充当客户端请求的代理。当 Web 服务器或负载平衡器 "front-ended" 发出 WLS 请求时,请求将通过插件处理。 WLS 了解代理以便正确处理请求很重要。使用 WLS 设置“WebLogic plugin Enabled”通知 Weblogic Server 代理以及插件的存在。
http://www.ateam-oracle.com/wls-plugin-enabled
试试这个:
Login to WLS Console
In the Environment tab, click 'Servers'
Click on 'Servers' -> '<SSL_Managed_Server>' -> 'General' -> 'Advanced'
- You may also set this on a Cluster level
Check the checkbox or option with the text 'WebLogic Plug-In Enabled'
- This is minimally required
Check the checkbox with the text 'Client Cert Proxy Enabled'
- This is only required if also using two-way ssl, client certificates
Save the changes and restart WebLogic Server
我有一个部署在 weblogic 中的 Web 应用程序,可以使用 https://host:port/appname/index.jsp
访问。当用户访问它时,首先会出现第 3 方身份验证页面,并在验证用户后重定向到上面 url。这很好用。同样,如果某人在身份验证后使用 https://host:port/appname/
访问该应用程序,他将被正确重定向
但是,如果我访问 url https://host:port/appname
(注意末尾没有尾随 /),weblogic 会重定向到 http 协议,即 http://host:port/appname,显然无法加载.
我可以使用 weblogic 的访问日志确认重定向。知道为什么会这样吗?我正在使用 Weblogic 12.2.1.3。请注意,我在 web.xml 中没有任何欢迎文件列表条目(如果我没记错的话,index.jsp 是 weblogic 中默认的欢迎文件之一)。
对 WebLogic Server (WLS) 的请求通常通过 Web 服务器或负载平衡器,它们充当客户端请求的代理。当 Web 服务器或负载平衡器 "front-ended" 发出 WLS 请求时,请求将通过插件处理。 WLS 了解代理以便正确处理请求很重要。使用 WLS 设置“WebLogic plugin Enabled”通知 Weblogic Server 代理以及插件的存在。
http://www.ateam-oracle.com/wls-plugin-enabled
试试这个:
Login to WLS Console
In the Environment tab, click 'Servers'
Click on 'Servers' -> '<SSL_Managed_Server>' -> 'General' -> 'Advanced'
- You may also set this on a Cluster level
Check the checkbox or option with the text 'WebLogic Plug-In Enabled'
- This is minimally required
Check the checkbox with the text 'Client Cert Proxy Enabled'
- This is only required if also using two-way ssl, client certificates
Save the changes and restart WebLogic Server