[vhffs-dev] [2229] web and repositories stats (awstats) are now using geoip module instead of reverse DNS, which is faster and gives better results

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2229
Author:   gradator
Date:     2013-04-15 23:03:48 +0200 (Mon, 15 Apr 2013)
Log Message:
-----------
web and repositories stats (awstats) are now using geoip module instead of reverse DNS, which is faster and gives better results

Modified Paths:
--------------
    trunk/vhffs-robots/misc/awstats.sample
    trunk/vhffs-robots/misc/repository.awstats.sample

Modified: trunk/vhffs-robots/misc/awstats.sample
===================================================================
--- trunk/vhffs-robots/misc/awstats.sample	2013-03-07 21:04:16 UTC (rev 2228)
+++ trunk/vhffs-robots/misc/awstats.sample	2013-04-15 21:03:48 UTC (rev 2229)
@@ -35,7 +35,7 @@
 # 2 - DNS Lookup is made only from static DNS cache file (if it exists)
 # Default: 2
 # 
-DNSLookup=1
+DNSLookup=0
 
 
 # When AWStats updates its statistics, it stores results of its analysis in 
@@ -1113,7 +1113,7 @@
 # Perl Geo::IPfree module, database less up to date).
 # This plugin reduces AWStats speed of 8% !
 #
-#LoadPlugin="geoip GEOIP_STANDARD"
+LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
 
 # Plugin: GeoIPfree
 # Perl modules required: Geo::IPfree version 0.2+ (from Graciliano M.P.)

Modified: trunk/vhffs-robots/misc/repository.awstats.sample
===================================================================
--- trunk/vhffs-robots/misc/repository.awstats.sample	2013-03-07 21:04:16 UTC (rev 2228)
+++ trunk/vhffs-robots/misc/repository.awstats.sample	2013-04-15 21:03:48 UTC (rev 2229)
@@ -35,7 +35,7 @@
 # 2 - DNS Lookup is made only from static DNS cache file (if it exists)
 # Default: 2
 # 
-DNSLookup=1
+DNSLookup=0
 
 
 # When AWStats updates its statistics, it stores results of its analysis in 
@@ -1113,7 +1113,7 @@
 # Perl Geo::IPfree module, database less up to date).
 # This plugin reduces AWStats speed of 8% !
 #
-#LoadPlugin="geoip GEOIP_STANDARD"
+LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
 
 # Plugin: GeoIPfree
 # Perl modules required: Geo::IPfree version 0.2+ (from Graciliano M.P.)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/