Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

how to install modsecurity correctly?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
hmate783
Posts: 2
Joined: Fri Aug 23, 2019 11:59 am

Os: CentOS 6x
Web: apache + nginx
how to install modsecurity correctly?
  • Quote

Post by hmate783 » 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?
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: how to install modsecurity correctly?
  • Quote

Post by grayfolk » Fri Aug 23, 2019 1:25 pm

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.
Top

hmate783
Posts: 2
Joined: Fri Aug 23, 2019 11:59 am

Os: CentOS 6x
Web: apache + nginx
Re: how to install modsecurity correctly?
  • Quote

Post by hmate783 » 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
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: how to install modsecurity correctly?
  • Quote

Post by grayfolk » Fri Aug 23, 2019 4:18 pm

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.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password