Control Web Panel
WebPanel => How to => Topic started by: Sandeep 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
-
Perfect.
Thank you!
Don't forget to remove the temporary/cloned directory afterwards:
cd ..
rm -rf mod_cloudflare
-
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!.
-
Can I use this for "Apache & Varnish Cache & Nginx Reverse Proxy"?