My need is to enable ssl(https) in apache via load balancer.
The IT team will install ssl certificate in Cisco load balancer and control all traffic from the client. This load balancer will set the header value
X-Forwarded-Proto and X-Forwarded-For and forward it to apache web server.
Note: port is always 80
, protocol always http
for the traffic b/w apache and load balancer.
Now the IT team said they have configured the Load balancer. but when i checking in php by putting
$headers["X-Forwarded-For"]
$headers["X-Forwarded-Proto"]
These lines not returning any !!! is there any configuration need to be done in apache webserver to receive the header values X-Forwarded-Proto
and X-Forwarded-For
. i have reconfirmed with IT team that they are setting the header values properly.
can any one help me in configuring this?
Thanks.