- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 18 Nov 2008 16:04:19 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LogValidator/samples In directory hutz:/tmp/cvs-serv21547/samples Modified Files: logprocess.conf Log Message: Patches by Martin B. Smith for the implementation of an ExcludeHost option http://www.w3.org/Bugs/Public/show_bug.cgi?id=5221 Index: logprocess.conf =================================================================== RCS file: /sources/public/perl/modules/W3C/LogValidator/samples/logprocess.conf,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- logprocess.conf 4 Dec 2007 07:15:34 -0000 1.29 +++ logprocess.conf 18 Nov 2008 16:04:17 -0000 1.30 @@ -124,6 +124,7 @@ ## ExcludeAreas : areas that should not be processed ## +## Define areas (such as "/News") of the Web site that should be ignored by the LogValidator ## space separated list of areas. ## regexp-like syntax (e.g . is understood as "any character") No need to escape "/" ## DEFAULT = None @@ -131,6 +132,18 @@ ## NOTE: use AuthorizedExtensions to allow/ignore file extensions # ExcludeAreas test/ignore* favicon\.ico /rootarea +## ExcludeHosts : records that should not be processed ## +## If ExcludeHosts is defined, records originating from these hosts (or IP addresses) will be ignored +## space seperated list of expressions +## regexp-like syntax for match on the remote host or address +## DEFAULT = None +## NOTE: This uses whatever is in your log file, so you may want to ask Apache to start/stop resolving +## remote addresses to host names if you want to do hostname-based matching +## Examples: +# ExcludeHosts ^localhost ^127\.0\.0\.1$ +# ExcludeHosts ^crawl-.*.googlebot.com$ .*.yahoo.com$ + + ## RefererMatch : limit referer storage to some sites ## A (new) logvalidator feature draws referer information from logs that hold it
Received on Tuesday, 18 November 2008 16:04:27 UTC