DevAnswers
 
April 21st, 2022

How to Get the Real Client IP Address from Cloudflare in Apache or PHP

Get the real client IP (CF-Connecting-IP) from Cloudflare and pass it on to PHP or Apache. Show CF-Connecting-IP in access.log and error.log. CF-Connecting-IP in .htaccess or PHP for IP restricitons.

© DevAnswers | About | Twitter | Facebook | YouTube Channel | Privacy