Page 1 of 1

how to install modsecurity correctly?

Posted: Fri Aug 23, 2019 12:32 pm
by hmate783
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?

Re: how to install modsecurity correctly?

Posted: Fri Aug 23, 2019 1:25 pm
by grayfolk
hmate783 wrote:
Fri Aug 23, 2019 12:32 pm
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?
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?

Posted: Fri Aug 23, 2019 2:18 pm
by hmate783
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

Re: how to install modsecurity correctly?

Posted: Fri Aug 23, 2019 4:18 pm
by grayfolk
hmate783 wrote:
Fri Aug 23, 2019 2:18 pm
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
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.