Article 5EV9N What is the difference between "/etc/httpd/conf.d/" and "/etc/httpd/conf.modules.d/" directories?

What is the difference between "/etc/httpd/conf.d/" and "/etc/httpd/conf.modules.d/" directories?

by
n00b_noob
from LinuxQuestions.org on (#5EV9N)
Hello,
I'm using CentOS 8 x86_64 and I installed ModSecurity on it.
According to the https://github.com/coreruleset/corer....4/dev/INSTALL, I must add below lines to the "httpd.conf/apache2.conf" file, but that file is for Debian:
Code: <IfModule security2_module>
Include modsecurity.d/owasp-modsecurity-crs/crs-setup.conf
Include modsecurity.d/owasp-modsecurity-crs/rules/*.conf
</IfModule>I found two files about the ModSecurity:
  1. /etc/httpd/conf.modules.d/10-mod_security.conf
  2. /etc/httpd/conf.d/mod_security.conf
But which file is OK to add above lines?

Thank you.latest?d=yIl2AUoC8zA latest?i=BwfNqdghAYg:t4oQemlF-Zw:F7zBnMy latest?i=BwfNqdghAYg:t4oQemlF-Zw:V_sGLiP latest?d=qj6IDK7rITs latest?i=BwfNqdghAYg:t4oQemlF-Zw:gIN9vFwBwfNqdghAYg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments