Sometimes, you might want to disable the mod_security applied to the virtual server and you might wonder how to do it.
If you are using Apache with mod_security, it could be done from the configuration file.
However, you have to understand the Apache version and mod_security version that you used.
Normally, a hosted server will use Apache 1.x with mod_security 1.x and Apache 2.x with mod_security 2.x.
To find out the Apache version, you may use the following command.
With mod_security 1.x, you may use the following command from each of the virtual host path and add into the .htaccess file.