Add to Favourites Add to Favourites    Print this Article Print this Article

Add mod_cloudflare to DirectAdmin

Relating to this guide, you can install the mod_cloudflare module into apache if you need it.

On a DirectAdmin box, we'll use the httpd-includes.conf file, as it's not modified by CustomBuild once it's set.

  1. Once apache is up and running, download and install the mod_cloudflare module:

    apxs -i -c mod_cloudflare.c

  2. Next, add the module to the httpd-includes.conf:

    echo "LoadModule cloudflare_module  /usr/lib/apache/" >> /etc/httpd/conf/extra/httpd-includes.conf

  3. and finally restart apache:

    service httpd restart

Was this answer helpful?

Also Read