Laravel Cloudflare logging real visitor IP address Server Solution

Image for post
Image for post

Issue:

Reason:

Solution 1: Code Manipulation

Solution 2: Server Solution

# yum install libtool httpd-devel
# wget https://raw.githubusercontent.com/cloudflare/mod_cloudflare/master/mod_cloudflare.c
# apxs -a -i -c mod_cloudflare.c# apxs2 -a -i -c mod_cloudflare.c

Other platforms:

Previous Stories You will Love:

Written by

Web geek, Self-taught full-stack web developer, Learning Python, Laravel, Vuejs, UX/UI design, Nuclear Physicist PhD

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store