Status
Not open for further replies.
3 comments
Have not tried this but here is one suggestion:
Disabling Mod_Security Globally

Step 1) Disable config file
mv /etc/httpd/conf.d/00_mod_security.conf /etc/httpd/conf.d/00_mod_security.conf.disabled

Step 2) Restart Apache

service httpd restart

Disabling Mod_security per domain

For Plesk and similar systems you can also disable modsecurity in the Apache configuration.

Step 1) Edit the vhost/vhost_ssl.conf for the domain
vim /var/www/vhosts/<DOMAINNAME>/conf/vhost.conf

Step 2) Add the following
<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>

Then restart apache, if you are using Plesk then you will also need follow steps 3 and 4.

Step 3) Add vhost.conf to domain config
/usr/local/psa/admin/bin/websrvmng -a

Step 4) Restart Apache
service httpd restart
 
Status
Not open for further replies.
Back
Top