Get Remote Host Client IP Behind Load Balancers (ELB)

I was working on “Private AWS Cloudfront Distribution” for AWS Elastic Load Balancer (ELB), allowing our application servers private access to our AWS cloudfront. But PHP Server Environment Variable $_SERVER[“REMOTE_ADDR”] is displaying suspicious results, it really tedious to get remote host client IP behind ELB 🙁 Now we have 2 options… 1. mod_rpaf and Amazon … Read more