perl/modules/W3C/LogValidator/lib/W3C/LogValidator Config.pm,1.10,1.11

Update of /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator
In directory hutz:/tmp/cvs-serv18180/lib/W3C/LogValidator

Modified Files:
	Config.pm 
Log Message:
New feature records referer field in logs that have that info.
Creating an option to limit referer info to some regexp.
This commit creates a default value for that option.


Index: Config.pm
===================================================================
RCS file: /sources/public/perl/modules/W3C/LogValidator/lib/W3C/LogValidator/Config.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Config.pm	9 Sep 2005 06:33:11 -0000	1.10
+++ Config.pm	22 Jun 2006 05:11:24 -0000	1.11
@@ -84,6 +84,10 @@
 		push @{$conf{LogProcessor}{LogFiles}}, "/var/log/apache/access.log";
 		$conf{LogProcessor}{LogType}{"/var/log/apache/access.log"}="common";
 	}
+	if (!exists $conf{LogProcessor}{RefererMatch})
+	{	
+		$conf{LogProcessor}{RefererMatch} =".*";
+	}
 
 	if (!exists $conf{LogProcessor}{UseValidationModule})
 	{

Received on Thursday, 22 June 2006 05:11:40 UTC