Best unofficial Apache Server developers community |
|
Can any one guide me in working with X-FORWARDED-PROTO in Java apache-tomcat. The application setup is in such a way that tomcat talks with apache webserver, which in turn talks with Cisco LoadBalancer, finally the balancer publishes the pages to the client (tomcat -> apache2 -> load balancer -> client). The SSL Certificate is installed in LoadBalancer and its handling https request. My requirement is to make the application behave in such a way that it uses the X-FORWARDED-PROTO and change the pages as HTTP or HTTPS. Checking on the header files of my webpages i could not find the X-FORWARDED-PROTO parameter. I don't have access to the LoadBalancer configuration either, and the IT has suggested us to use the X-FORWARDED-PROTO to differentiate between HTTP & HTTPS request. Is there any configuration to be done in tomcat or apache level so that it will return the X-FORWARDED-PROTO parameter. Or is it that the configuration should be handled in LoadBalancer.
posted via StackOverflow
|