What is the `CF-Connecting-IP` header and why is it important for Apache with Cloudflare?

Question

Grade: Education Subject: Support
What is the `CF-Connecting-IP` header and why is it important for Apache with Cloudflare?
Asked by:
89 Viewed 89 Answers

Answer (89)

Best Answer
(296)
The `CF-Connecting-IP` header is a custom header added by Cloudflare that contains the original IP address of the visitor. Apache can be configured to use this header to accurately log the client's real IP address, bypassing any intermediate proxies that might otherwise alter the IP information.