wildcard support for log file locations
Posted: 03 Feb 2014, 10:53
It would be great if CSF supported wildcards for LFD log file locations:
Eg. /var/www/vhosts/system/*/logs/error_log
Some platforms like Plesk have separate log file locations per virtual host. I know that fail2ban supports wildcard log file locations when creating jails.
I believe that Perl supports glob functions so it shouldn't be that hard to add:
http://perl.about.com/od/filesystem/qt/perlglob.htm
Eg. /var/www/vhosts/system/*/logs/error_log
Some platforms like Plesk have separate log file locations per virtual host. I know that fail2ban supports wildcard log file locations when creating jails.
I believe that Perl supports glob functions so it shouldn't be that hard to add:
http://perl.about.com/od/filesystem/qt/perlglob.htm