mod_cloudflare not detected

Post Reply
Silent Ninja
Junior Member
Posts: 40
Joined: 24 Apr 2008, 15:58

mod_cloudflare not detected

Post by Silent Ninja »

This is somewhat minor but on EA4 the security check says that I don't have mod_cloudflare installed but I do have it. Perhaps it's due to the name change on the module:

Code: Select all

#$ httpd -M | grep cloudflare
[Sat Oct 14 13:38:55.345007 2017] [so:warn] [pid 28750:tid 140564230232192] AH01574: module cloudflare_module is already loaded, skipping
 cloudflare_module (shared)
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: mod_cloudflare not detected

Post by ForumAdmin »

We're unable to replicate this as the script already checks for "cloudflare_module" and reports the warning if it is installed.

The check is using the path to httpd from

Code: Select all

grep bin_httpd /etc/cpanel/ea4/paths.conf
Then looks at the output the reported binary for bin_httpd, usally:

Code: Select all

/usr/sbin/httpd -M
If it finds cloudflare_module in the list it reports the warning.

If you run the same as this, you are not seeing the red warning, as this we cannot replicate as the warning shows for us?
It uses the exact same mechanism for ModSecurity (security2_module) except it warns if it is not present, the opposite for ModCloudFlare.
Post Reply