Hi guys i need users real ips to show in my server logs. ive seen this on cloudflares site https://www.cloudflare.com/resources-downloads#mod_cloudflare and ive done Option 3: Manual Installation: RedHat / CentOS / CloudLinux but nothing has happened its still showing cloudflares ips not sure what to do.
Option 3: Manual Installation: RedHat / CentOS / CloudLinux
mod_cloudflare has a few software dependencies that need to be installed first:
# yum install libtool httpd-devel
Next, you should download the mod_cloudflare source to your server:
# wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
Finally, install the module. Depending on your system, the command to run might be apxs or apxs2. So, run one of the below two commands. If you get a "Command not found" when running one, try the other:
# apxs -a -i -c mod_cloudflare.c
# apxs2 -a -i -c mod_cloudflare.c
Option 3: Manual Installation: RedHat / CentOS / CloudLinux
mod_cloudflare has a few software dependencies that need to be installed first:
# yum install libtool httpd-devel
Next, you should download the mod_cloudflare source to your server:
# wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
Finally, install the module. Depending on your system, the command to run might be apxs or apxs2. So, run one of the below two commands. If you get a "Command not found" when running one, try the other:
# apxs -a -i -c mod_cloudflare.c
# apxs2 -a -i -c mod_cloudflare.c