Support Center > Knowledgebase > DirectAdmin > Apache Related Information > Add mod_cloudflare to DirectAdmin
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.
- Once apache is up and running, download and install the mod_cloudflare module:
wget https://www.cloudflare.com/static/misc/mod_cloudflare/mod_cloudflare.c
apxs -i -c mod_cloudflare.c
- Next, add the module to the httpd-includes.conf:
echo "LoadModule cloudflare_module /usr/lib/apache/mod_cloudflare.so" >> /etc/httpd/conf/extra/httpd-includes.conf
- and finally restart apache:
service httpd restart
Also Read