How to capture client IP addresses in Apache access logs using AWS Elastic Load Balancer
Posted on Wed 22 May 2019 in misc
A few weeks ago I was trying to setup the X-Forwarded-For header so that Apache would log the client's IP address instead of the address of the ELB. Amazon's tutorial here states that the only requirement is to set the LogFormat
line in the config file to include the X-Forwarded-For …
Continue reading