1 – Create directory at :-
And if you want to remove the mod security, just remove the line.
[root ~]# mkdir -p /usr/local/apache/conf/userdata/std/2_4/username*/domain.com*2 – Then create a file in it :-
[root ~]# touch /usr/local/apache/conf/userdata/std/2_4/username*/domain.com*/mod_security.conf3 – Edit the file and add below line :-
[root ~]# vi /usr/local/apache/conf/userdata/std/2_4/username*/domain.com*/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 --user=username*
And if you want to remove the mod security, just remove the line.