MajorLancelot

Well-Known Member
Dec 17, 2014
60
5
133
Shinjuku-ku, Tokyo, Japan
cPanel Access Level
Root Administrator
According to this page: https://support.cloudflare.com/hc/en-us/articles/200170896-Using-mod-cloudflare-Packages

"Cloudflare will no longer update and support mod_cloudflare, starting with versions Debian 9 and Ubuntu 18.04 LTS of the Linux operating system."
I assume that this means the same will be coming to RedHat distros soon.

In that case, should we use just mod_remoteip and forget about mod_cloudflare?

And does it make sense to have both enabled on a machine?

Thanks!
 

MajorLancelot

Well-Known Member
Dec 17, 2014
60
5
133
Shinjuku-ku, Tokyo, Japan
cPanel Access Level
Root Administrator
Actually, it turned out that Cloudflare made it explicitly clear on this page: https://github.com/cloudflare/mod_cloudflare that if using both will cause issues:

If mod_cloudflare and mod_remoteip are enabled on the same web server, the server will crash if they both try to set the remote IP to a different value.
Wonder why this wasn't stated as part of the additional module information in EA4.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Actually, it turned out that Cloudflare made it explicitly clear on this page: https://github.com/cloudflare/mod_cloudflare that if using both will cause issues
To clarify, yes, you should uninstall mod_cloudflare before installing mod_remoteip.

Wonder why this wasn't stated as part of the additional module information in EA4.
Could you provide the link to the specific documentation page you'd like to see the warning on?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello @MajorLancelot,

While "conflicts" are configured for certain EasyApache 4 RPMs to alert about incompatibilities, that's traditionally only applicable to the EA4 RPMs that we provide. Since mod_cloudflare is a third-party RPM, the best path forward here is provide a fully supported way to configure CloudFlare with cPanel & WHM. The following feature request is open for this:

https://features.cpanel.net/topic/cloudflare-plugin-inside-cpanel

I encourage you to vote and add feedback to this feature request if it's something you'd like to see added to the product.

Thank you.
 
Thread starter Similar threads Forum Replies Date
Y Domain Management 4