how to install modsecurity correctly?
how to install modsecurity correctly?
i used some modsecurity installation guidesin internet but none of them worked and modsecurity is not working?
Do you know how to make modsecurity work for vestacp? is there any working guide?
Do you know how to make modsecurity work for vestacp? is there any working guide?
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: how to install modsecurity correctly?
I think to use official modsecurity documentation is better way for correctly install.
Vesta not related to any server software, Vesta just control some configs.
Re: how to install modsecurity correctly?
The problem is not modsecurity, the problem is modsecurity not working with Vesta.
The official code is already simple enough:
sudo yum install mod_security
$ sudo /etc/init.d/httpd restart
The official code is already simple enough:
sudo yum install mod_security
$ sudo /etc/init.d/httpd restart
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: how to install modsecurity correctly?
Read how configure Apache with modsecurity and make relevant changes in your Apache config - /etc/httpd/conf/httpd.conf or (better way) create mod_security.conf in /etc/httpd/conf.d folder.