Admin-Ahead Community
Linux => Control Panels => Plesk => Topic started by: lijeshk on November 17, 2013, 03:29:43 am
-
For Plesk, we can disable modsecurity for one domain in Apache configuration by follow the bellow given steps:
- Edit the vhost/vhost_ssl.conf for the domain:
#vim /var/www/vhosts/<DOMAINNAME>/conf/vhost.conf
<IfModule mod_security2.c> SecRuleEngine Off </IfModule>
- Add vhost.conf to domain config:
#/usr/local/psa/admin/bin/websrvmng -a
#service httpd restart
- If it's needed to disable mod_security globally, just disable config file:
#mv /etc/httpd/conf.d/00_mod_security.conf /etc/httpd/conf.d/00_mod_security.conf.disabled
and restart httpd
#service httpd restart
--