If you upgrade from EasyApache 3 to EasyApache4 and you run CSF (ConfigServer Firewall), you’re going to need to make some changes to your CSF configuration because the Apache logs have been moved to a different directory. If you don’t make these changes, CSF will not be able to monitor your system effectively.
As far as I can see, these are the changes you need to make:
- Log in to a shell as root,
- go to the /etc/csf directory,
- edit the csf.conf file and scroll down towards the end. You’re looking for the HTACCESS_LOG and MODSEC_LOG directives. These both need to be changed to point to /var/log/apache2/error_log,
- save the csf.conf file,
- edit the csf.syslogs file and go to the Apache section. Change anything with a directory that begins /var/log/httpd to /var/log/apache2,
- save the csf.syslogs file,
- restart CSF by typing csf -r at the command line.
That’s what I’ve found so far, anyway. If I find anything else I’ll update this post.