Add mod_cloudflare to DirectAdmin
Use '%' for wildcards and quotes for "exact phrases"
|Add mod_cloudflare to DirectAdmin||Last Modified: Feb 17, 2017, 3:25 am|
|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:
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
2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB
T8N 1P7 Canada. Mon-Fri 9AM-5PM MST