Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
Apache
»
Activate mod_cloudflare in Apache
« previous
next »
Print
Pages: [
1
]
Author
Topic: Activate mod_cloudflare in Apache (Read 13864 times)
0 Members and 1 Guest are viewing this topic.
djingibi
Newbie
Posts: 9
Activate mod_cloudflare in Apache
«
on:
October 15, 2016, 09:14:34 PM »
After couple of hours I find a solution.
1) yum install httpd-devel libtool git
2) git clone
https://github.com/cloudflare/mod_cloudflare.git
3) cd mod_cloudflare
4) /usr/local/apache/bin/apxs -a -i -c mod_cloudflare.c
5) service httpd restart
«
Last Edit: October 15, 2016, 09:27:16 PM by djingibi
»
Logged
Dan11
Newbie
Posts: 23
Re: Activate mod_cloudflare in Apache
«
Reply #1 on:
October 19, 2016, 03:21:33 PM »
Thanks, I was looking for this.
Logged
robbyq
Jr. Member
Posts: 103
Re: Activate mod_cloudflare in Apache
«
Reply #2 on:
October 22, 2016, 09:43:58 AM »
Can one admin add that for mods? in future in cwp?
Logged
cazzone
Newbie
Posts: 28
Re: Activate mod_cloudflare in Apache
«
Reply #3 on:
December 02, 2016, 07:22:08 PM »
For me not work, module result installed But the $_SERVER['REMOTE_ADDR'] return IP of CloudFlare
Logged
cazzone
Newbie
Posts: 28
Re: Activate mod_cloudflare in Apache
«
Reply #4 on:
December 03, 2016, 09:27:57 AM »
olved with CloudFlareRemoteIPTrustedProxy 127.0.0.1 on apache config =)
Logged
djingibi
Newbie
Posts: 9
Re: Activate mod_cloudflare in Apache
«
Reply #5 on:
February 10, 2019, 10:00:57 PM »
Do not forget to add to apache config file (/usr/local/apache/conf/httpd.conf)
this line:
CloudflareRemoteIPTrustedProxy 123.123.123.123
Replace "123.123.123.123" with your server's IP.
Logged
Adak
Newbie
Posts: 54
Re: Activate mod_cloudflare in Apache
«
Reply #6 on:
May 20, 2019, 11:06:04 AM »
Protected multilib versions: apr-1.3.9-5.el6_9.1.i686 != apr-1.6.2-1.x86_64
error: Protected multilib versions: apr-util-1.3.9-3.el6_0.1.i686 != apr-util-1.6.0-1.x86_64
Logged
Igor S.
The System Administrator for any GNU/Linux
Global Moderator
Hero Member
Posts: 1418
Re: Activate mod_cloudflare in Apache
«
Reply #7 on:
May 22, 2019, 05:44:53 PM »
Quote
yum install httpd-devel libtool git
This is a bad way. You can't install httpd via yum.
Logged
You can ask me to solve any problem with your server for some money in pm
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
Apache
»
Activate mod_cloudflare in Apache