Issue
When CDN support is enabled, Webshield shows the correct Client IP in its log, whereas
on apache, the logs grab the Cloudflare CDN IP instead of the Client IP.
Environment
- Imunify360
- Apache
- Domain behind Cloudflare
Solution
In the Apache LogFormat configuration strings for correct representation of a remote host IP address it is required using:
%a Client IP address of the request
instead of
%h Remote hostname
Useful links
http://httpd.apache.org/docs/current/mod/mod_log_config.html.
Comments
0 comments
Please sign in to leave a comment.