I tried to enable mod_security after some breach. Opened up security > mod_security and clicked on install.
After it succesfully installed mod_security Apache did not start at all.
After some research i found out that mod_security2.so file is not being installed in the httpd directory.
With the help of AI, I simlinked so file but this time CWP Dashboard controlled Apache did not work. We had to switch to /usr/local/apache/bin/apachectl . But CWP is monitoring httpd.service which is not the same. it shows Apache is not running and trying to run it wont work as part 80 is already being used. If i stop apachectl then mod_security does not work.