Author Topic: How to install Cloudflare module on Centos 7 Apache 2.4  (Read 15564 times)

0 Members and 1 Guest are viewing this topic.

Offline
*****
How to install Cloudflare module on Centos 7 Apache 2.4
« on: February 23, 2017, 01:55:27 PM »
use this commands for el7

yum install libtool git -y

git clone https://github.com/cloudflare/mod_cloudflare.git && cd mod_cloudflare

/usr/local/apache/bin/apxs -a -i -c mod_cloudflare.c

systemctl restart httpd && /usr/local/apache/bin/httpd -M|grep cloudflare

Offline
*
Re: How to install Cloudflare module on Centos 7 Apache 2.4
« Reply #1 on: February 01, 2018, 10:21:04 AM »
Perfect.
Thank you!

Don't forget to remove the temporary/cloned directory afterwards:
Code: [Select]
cd ..
rm -rf mod_cloudflare

Offline
*
Re: How to install Cloudflare module on Centos 7 Apache 2.4
« Reply #2 on: April 23, 2018, 10:02:00 AM »

after this command:/usr/local/apache/bin/apxs -a -i -c mod_cloudflare.c

i got this error: apxs:Error: /usr/bin/apr-1-config not found!.


Offline
**
Re: How to install Cloudflare module on Centos 7 Apache 2.4
« Reply #3 on: July 20, 2018, 06:10:06 PM »
Can I use this for "Apache & Varnish Cache & Nginx Reverse Proxy"?