Easiest way to install mod_cloudflare on latest CPanel since it's not available in EA?

piyushmaheswari

Well-Known Member
Apr 18, 2020
74
2
8
India
cPanel Access Level
Root Administrator
Please help , I am facing this error
IThe “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 3495919) reported error number 1 when it ended. Configuration problem detected on line 1 of file /etc/apache2/conf.d/userdata/includename.conf: Invalid command 'RemoteIPHeader', perhaps misspelled or defined by a module not included in the server configuration --- /etc/apache2/conf.d/userdata/includename.conf --- 1 ===> RemoteIPHeader CF-Connecting-IP <=== --- /etc/apache2/conf.d/userdata/includename.conf ---
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
I want to add CloudFlare option in CPanel , if I follow these steps then will it add CloudFlare option in CPanel ?
Or do I need to do something more ?
None of this will give you the plugin for CloudFlare - as stated throughout the thread this is for mod_remoteip in place of mod_remoteip
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Please help , I am facing this error
IThe “/usr/sbin/httpd -DSSL -t -f /etc/apache2/conf/httpd.conf -C Include "/etc/apache2/conf.modules.d/*.conf"” command (process 3495919) reported error number 1 when it ended. Configuration problem detected on line 1 of file /etc/apache2/conf.d/userdata/includename.conf: Invalid command 'RemoteIPHeader', perhaps misspelled or defined by a module not included in the server configuration --- /etc/apache2/conf.d/userdata/includename.conf --- 1 ===> RemoteIPHeader CF-Connecting-IP <=== --- /etc/apache2/conf.d/userdata/includename.conf ---
This looks like you didn't put it in the right include. Why is this coming up as an error for the /etc/apache2/conf.d/userdata/includename.conf and not the specific conf file noted in the instructions?