How can I install mod_cloudflare?


#1

Hello

I used this code for it but my apache went down. (I fixed it)/ What’s the correct way? Thanks

[code]Option 3: Manual Installation: RedHat / CentOS / CloudLinux

mod_cloudflare has a few software dependencies that need to be installed first:

yum install libtool httpd-devel

Next, you should download the mod_cloudflare source to your server:

wget https://raw.githubusercontent.com/cloudflare/mod_cloudflare/master/mod_cloudflare.c

Finally, install the module. Depending on your system, the command to run might be apxs or apxs2. So, run one of the below two commands. If you get a ‘Command not found’ when running one, try the other:

apxs -a -i -c mod_cloudflare.c

apxs2 -a -i -c mod_cloudflare.c[/code]