Author Topic: CSF firewall wrong path error_log  (Read 2454 times)

0 Members and 1 Guest are viewing this topic.

CSF firewall wrong path error_log
« on: September 04, 2016, 10:57:09 PM »

I just tried to activate LF_APACHE_404 and LF_APACHE_403 but  I activated and restart csf (csf -r and reboot) I does not blocked 404 floods.

I found a mistake in configuration file  /etc/csf/csf.conf

HTACCESS_LOG = "/var/log/httpd/error_log"
MODSEC_LOG = "/var/log/httpd/error_log"

but it should be like below

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

thats why, Csf not block 404, 403 and mod_security errors.