Search our database

Archive | Web Application Firewall RSS feed for this section
Viewing 1 item

Disable Mod Security cPanel for a domain

1 – Create directory at :- [root ~]# mkdir -p /usr/local/apache/conf/userdata/std/2_4/username*/*2 – Then create a file in it :- [root ~]# touch /usr/local/apache/conf/userdata/std/2_4/username*/*/mod_security.conf3 – Edit the file and add below line :- [root ~]# vi /usr/local/apache/conf/userdata/std/2_4/username*/*/mod_security.conf ===cut=== SecRuleEngine Off ===cut=== 4 – Then run this command to allow httpd.conf to include the file. [root~]# /scripts/ensure_vhost_includes […]