Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    15

    Question How to install mod_cloudflare

    Hi everyone.

    Sorry for the noob questions but can someone point me in the right direction to install mod_cloudflare?

    I am running WordPress and Magento on WHM 11.3 / CentOS 5.5 / Apache 2.2 / Nginx Admin 2.5

    First question: should I install at the Apache level (https://github.com/cloudflare/CloudFlare-Tools) or at Nginx level (HttpRealIpModule)... I am assuming Apache but please tell me if I am right?

    If as an Apache module, I would follow these steps: Performance, Security & Apps for Any Website | CloudFlare | Wiki ... should the LoadModule be in the PreMain include?

    Second question, if I follow the steps mentioned above, I assume it will survive cPanel updates, being done through the Include editor, correct?

    Thanks so very much!

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default Re: How to install mod_cloudflare

    I'd also be interested if anyone has installed Cloudflare on their cPanel servers
    thanks

  3. #3
    Member
    Join Date
    Jun 2011
    Posts
    5

    Default Re: How to install mod_cloudflare

    Quote Originally Posted by mambovince View Post
    I'd also be interested if anyone has installed Cloudflare on their cPanel servers
    thanks
    I did this on my other server, but there were issues and cloudflare techs had to fix it for me (something odd with apxs).

    Nik

  4. #4
    Member
    Join Date
    Sep 2010
    Posts
    15

    Default Re: How to install mod_cloudflare

    @mambovince I ended up following these instructions and it was super easy: Performance, Security & Apps for Any Website | CloudFlare | Wiki

    In my specific case I used the apxs (and not the aspxs2) command, but that may be OS-dependent. Then just added the line they say in my PRE-MAIN through WHM and restarted Apache. All worked well from there.

  5. #5
    Member
    Join Date
    Dec 2009
    Posts
    18

    Default Re: How to install mod_cloudflare

    Bear in mind that unless you go through EasyApache to install an apache module, your module will get removed next time you do run easyapache. So, that's a bad idea.

    Instead, I've created a script that adds mod_cloudflare to your EasyApache build system. Here's the details: Installing mod_cloudflare on cpanel - TL Tech

    For the Impatient
    Code:
    sudo perl <(curl https://raw.github.com/tylerl/util/master/easyapache/cloudflare.pl) install
    sudo /scripts/easyapache

Similar Threads & Tags
Similar threads

  1. APC install Error on WHM / Install Gide!
    By saamxvr in forum New User Questions
    Replies: 5
    Last Post: 04-04-2012, 07:15 AM
  2. CentOS Quick Install DVDs is also install default cpanel?
    By sodapopinski in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-10-2009, 07:39 AM
  3. Erro in Install (Bad file descriptor at ./install line 650)
    By CleberDantas in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 08-06-2007, 09:57 AM
  4. Install hangs at Waiting for Perl modules to install...
    By prodiac in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 07-12-2004, 04:06 AM
  5. RPM install fails - dependencies - auto install?
    By rjn in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-07-2003, 01:19 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube