How to setup ModSecurity in cPanel?
ModSecurity, sometimes called Modsec, is a popular Open-source Web application firewall (WAF). Originally designed as a module for the Apache HTTP Server, it has evolved to provide an array of Hypertext Transfer Protocol request and response filtering capabilities along with other security features across a number of different platforms including Apache HTTP Server, Microsoft IIS and NGINX. It is a free software released under the Apache license 2.0.
ModSecurity’s Open Source availability has resulted in it becoming one of the world’s most popular Web application firewalls. The platform itself provides a rule configuration language known as ‘SecRules’ for real-time monitoring, logging, and filtering of Hypertext Transfer Protocol communications based on user-defined rules. Please do the following step:
- Login to cPanel
- In search bar type modsecurity
3.or go to Security section and Click on Modsecurity
4. Then find out your Domain name on which you wish to configure mod security firewall, and click status on for enable it or off to disable it.
You’ve successfully Enable/Disable ModSecurity in cPanel.
Contact waxspace support if you need any support for Enable/Disable ModSecurity.