Re: [mod-security-users] How to configure ModSecurity on CentOS 8?
Brought to you by:
victorhora,
zimmerletw
|
From: Ervin H. <ai...@gm...> - 2021-02-19 07:11:51
|
Hi Jason, On Fri, Feb 19, 2021 at 06:10:16AM +0000, Jason Long via mod-security-users wrote: > Hello,I'm using CentOS 8 x86_64 and I want to configure ModSecurity for Apache. I looked at "https://phoenixnap.com/kb/setup-configure-modsecurity-on-apache" tutorial, but I can't find any "/etc/modsecurity" directory!!!I used below find command to find that directory: > # find / -name modsecurity -print > But no result. > Is "/etc/modsecurity" directory replaced by "/etc/httpd/conf.d/mod_security.conf" and "/etc/httpd/conf.modules.d/10-mod_security.conf" ? I think you should install modsecurity-crs package: https://git.centos.org/rpms/mod_security_crs/tree/c8 or donwload the latest stable version: https://github.com/coreruleset/coreruleset/releases/tag/v3.3.0 Note, in this case the "/etc/modsecurity" directory not needed, you can make your structure as you want. Hope this helps, a. |