I have managed to run all of the above in one server however I have a problem with LFD and automatically banning IPs that trigger mod_security ON ALL DOMAINS in the servers.
The problem is that CSF configuration allows you to specify ONE apache error_log file that will periodically scan for offending IPs and ban them. This usually by default is the /var/log/httpd/error_log.
This config however does not scan all the other error logs from the domains hosted in Virtualmin.
Has anyone managed to find a solution for this?
Ideally there should be one logfile only that collects all offences in itself and gets checked by LFD. Having multiple logfiles being checked will increase the server load big time.
Anyone?