You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Long <ha...@yahoo.com.INVALID> on 2021/02/27 14:38:04 UTC

[users@httpd] How to enable ModSecurity for Apache?

Hello,I'm using CentOS and installed ModSecurity with below command:
# yum install mod_security mod_security_crs
After it, edited "/etc/httpd/conf.d/mod_security.conf" file and changed "SecRuleEngine DetectionOnly" to "SecRuleEngine On" and restarted Apache service.Any header or configuration line must be added to the "httpd.conf" file?
Thank you.