From 282724a7f9e8885764b023b0e8d5e38b19734937 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sun, 30 Sep 2012 11:30:24 -0400 Subject: [PATCH] ENH: join both failregex for lighttpd-auth into a single one they are close in meaning should provide a slight run-time performance benefit --- config/filter.d/lighttpd-auth.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/filter.d/lighttpd-auth.conf b/config/filter.d/lighttpd-auth.conf index ba438328c..1931373cc 100644 --- a/config/filter.d/lighttpd-auth.conf +++ b/config/filter.d/lighttpd-auth.conf @@ -9,8 +9,7 @@ # Notes.: regex to match wrong passwords as notified by lighttpd's auth Module # Values: TEXT # -failregex = .*http_auth.*password doesn\'t match.*IP: \s*$ - .*http_auth.*wrong password.*IP: \s*$ +failregex = .*http_auth.*(password doesn\'t match|wrong password).*IP: \s*$ # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored.