• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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