I need some direction or help with the following scenario.
Background:
- We have a cluster of 4 J2EE application servers and BIG-IP (load balancer) infront of them.
- We installed a SSL certificate on BIG-IP.
Between browser & BIG-IP: HTTPS
- From the application server point of view the protocol is HTTP.
Issue:
- In our application code, we have sendRedirect to URLs in the same app server but a different context. After redirect, the protocol switches to HTTP.
https://www.company.com/context1/url1.html
response.sendRedirect(“/context2/url2.html”);
Now it switches back to HTTP:
http://www.company.com/context2/url2.html
Question:
- Is there anything that can be done in BIG-IP to make sure if the original client request is HTTPS, make the redirects will also in HTTPs??
Any directions or guidance will be greatly appreciated.
Thank You,
Srini