Directadmin – custombuild

[root@directadmin]# cd /usr/local/directadmin/custombuild
[root@directadmin]# mkdir custom
[root@directadmin]# mkdir custom/modsecurity
[root@directadmin]# mkdir custom/modsecurity/conf

Make sure your options.conf have:

modsecurity_ruleset=none

Add file malware_expert.conf to custom/modsecurity/conf folder and replace (serial key):

SecRemoteRules (serial key) https://rules.malware.expert/download.php?rules=generic

NOTE! Make sure you update custombuild:

[root@directadmin]# ./build modsecurity_rules

and check custombuild add malware_expert.conf to /etc/modsecurity.d/malware_expert.conf

Back