How To: Turn Off ModSecurity

  Firewall

Ticket Example : HFR-787-99774

ModSecurity is an open-source web-based firewall application (or WAF) supported by different web servers: Apache, Nginx and IIS. Usage. The module is configured to protect web applications from various attacks. Below are the following steps you can try after you have ssh to the nameserver

Enter the edit file
vi /etc/httpd/conf/httpd.conf

Copy the line below

SecRuleEngine Off

Next, login to DirectAdmin and go to “Extra Feature”. Choose “Custom HTTPD Configurations” and search for domain needed. Paste the line that you have copied earlier in the space given.

In terminal, type
service httpd restart