How to Disable Mod_Security in the Custom Http Config File
NOTE: You need to be the server admin in order to disable the mod_security in the custom http config file.
First log into the Direct Admin control panel using admin credential. Then click on “Custom HTTPD Configurations”

In the page, search for the domain name and add the following lines to the blank space.
<LocationMatch /*>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</LocationMatch>
First log into the Direct Admin control panel using admin credential. Then click on “Custom HTTPD Configurations”

In the page, search for the domain name and add the following lines to the blank space.
<LocationMatch /*>
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>
</LocationMatch>
Updated on: 08/11/2018
Thank you!