Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I run suphp so the uid of scripts is for the user not the webserver. My log files are also in /home/$user/logs/error.log

CSF only monitors /var/log/apache2/error.log

However because of my setup i dont think the logs go here so how do I add my user's log files to be monitored by CSF firewall.

share|improve this question

1 Answer 1

CSF not only monitor /var/log/apache2/error.log, it monitor many other service's log like maillog, syslog. You can add your log file, open csf conf as below:

vim /etc/csf/csf.conf

find below file entries and add your one below it.

Log files

HTACCESS_LOG = "/usr/local/apache/logs/error_log"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.