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

0 Members and 1 Guest are viewing this topic.

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

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.

Offline
*
Re: CSF firewall wrong path error_log
« Reply #1 on: July 19, 2019, 12:19:56 PM »
Yes. The old config has this wrong path here too. I did change it now.
« Last Edit: July 19, 2019, 12:30:05 PM by Babynemo »