ndzlogo-1-1
0%
Loading ...

INDIA – HEADQUARTERS

INDIA

UNITED STATES

CANADA

ModSecurity supplies an array of request filtering and other security features to the Apache HTTP Server, ModSecurity is a web application layer firewall. ModSecurity is free software.

We can disable modsecurity for a single domain.

login to the server as root.

Just create a directory:

mkdir -p /usr/local/apache/conf/userdata/std/2/username/domain.com

Then create a file:

/usr/local/apache/conf/userdata/std/2/username/domain.com/mod_security.conf

Add the below shown contents to the file just created now.

<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>

Save it.

Then the run the cPanel default script.

/scripts/ensure_vhost_includes –user=username