comparison syslog2iptables.conf.make @ 81:cc01f2caff37 stable-1-0-19

add error_log to the httpd files
author Carl Byington <carl@five-ten-sg.com>
date Sun, 11 Feb 2024 12:04:13 -0800
parents d80641be405b
children
comparison
equal deleted inserted replaced
80:858aec84fe13 81:cc01f2caff37
3 ( 3 (
4 echo '// generated by syslog2iptables.conf.make' 4 echo '// generated by syslog2iptables.conf.make'
5 echo '' 5 echo ''
6 cat syslog2iptables.conf.top 6 cat syslog2iptables.conf.top
7 7
8 for fn in /var/log/httpd/access*log; do 8 for fn in /var/log/httpd/error_log /var/log/httpd/access*log; do
9 if [ -f "$fn" ]; then 9 if [ -f "$fn" ]; then
10 echo " file \"$fn\" {" 10 echo " file \"$fn\" {"
11 cat syslog2iptables.conf.httpd 11 cat syslog2iptables.conf.httpd
12 echo " };" 12 echo " };"
13 fi 13 fi