Re: [users@httpd] How to display the True-Client-IP header in the access log

2021-10-19 Thread Rainer Canavan
On Tue, Oct 19, 2021 at 1:44 PM Mason Hayes wrote: > > Hi, All > > When Apache is accessed via a CDN (Akamai), I would like to record the IP of > the accessing client in the Apache logs. > In order to display the True-Client-IP header sent by Akamai in the access > log like X-Forward-For, do I h

Re: [users@httpd] How to display the True-Client-IP header in the access log

2021-10-19 Thread Jim Albert
On 10/19/2021 7:43 AM, Mason Hayes wrote: Hi, All When Apache is accessed via a CDN (Akamai), I would like to record the IP of the accessing client in the Apache logs. In order to display the True-Client-IP header sent by Akamai in the access log like X-Forward-For, do I have to change the Log

RE: [users@httpd] How to display the True-Client-IP header in the access log

2021-10-19 Thread Marc
With haproxy you have an option to enable a proxy protocol, this transmits the client ip. I guess something similar must exist in your case. > > When Apache is accessed via a CDN (Akamai), I would like to record the > IP of the accessing client in the Apache logs. > In order to display the True-

[users@httpd] How to display the True-Client-IP header in the access log

2021-10-19 Thread Mason Hayes
Hi, All When Apache is accessed via a CDN (Akamai), I would like to record the IP of the accessing client in the Apache logs. In order to display the True-Client-IP header sent by Akamai in the access log like X-Forward-For, do I have to change the Logformat setting in httpd.conf as follows? Logf