Author Topic: Activate mod_cloudflare in Apache  (Read 3862 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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 »

Offline
*
Re: Activate mod_cloudflare in Apache
« Reply #1 on: October 19, 2016, 03:21:33 PM »
Thanks, I was looking for this.  ;)

Offline
***
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?

Offline
*
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

Offline
*
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 =)