开发者

Enabling SSL (https) in Apache via Cisco CSS load balancer

开发者 https://www.devze.com 2023-02-28 01:04 出处:网络
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开发者_如何学C from the client. This load balancer

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开发者_如何学C 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.


i couldn't able to do with $headers["X-Forwarded-For"]

$headers["X-Forwarded-Proto"] so i tried HTTP:X-Forwarded-Port its working in our site

0

精彩评论

暂无评论...
验证码 换一张
取 消