• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

mod_cloudflare

Madness

Basic Pleskian
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
 
According to google I should be able to install via add and remove components but I can't see it listed
 
Back
Top