From 5612ae25137e27ca6010b7aba09fe315b442108f Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 5 May 2019 04:41:56 -0400 Subject: [PATCH] awstats updates for Xenial --- awstats.conf.distrib | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/awstats.conf.distrib b/awstats.conf.distrib index 5b06e28..3e5cba4 100644 --- a/awstats.conf.distrib +++ b/awstats.conf.distrib @@ -1,4 +1,4 @@ -# AWSTATS CONFIGURE FILE 7.1 +# AWSTATS CONFIGURE FILE 7.3 #----------------------------------------------------------------------------- # Copy this file into awstats.www.mydomain.conf and edit this new config file # to setup AWStats (See documentation in docs/ directory). @@ -10,7 +10,6 @@ # Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with # the config value in an AWStats running session and can be used like others. #----------------------------------------------------------------------------- -# $Revision: 1.355 $ - $Author: eldy $ - $Date: 2013/02/10 15:39:22 $ @@ -610,6 +609,16 @@ ValidHTTPCodes="200 304" ValidSMTPCodes="1 250" +# By default, AWStats only records info on 404 'Document Not Found' errors. +# At the cost of additional processing time, further info pages can be made +# available by adding codes below. +# Change : Effective for new updates only +# Example: "403 404" +# Default: "404" +# +TrapInfosForHTTPErrorCodes = "400 403 404" + + # Some web servers on some Operating systems (IIS-Windows) consider that a # login with same value but different case are the same login. To tell AWStats # to also consider them as one, set this parameter to 1. @@ -1071,6 +1080,11 @@ ShowMiscStats=a # Default: 1, Possible column codes: None ShowHTTPErrorsStats=1 +# Show http error page details +# Context: Web, Streaming +# Default: R, Possible column codes: RH +ShowHTTPErrorsPageDetail=R + # Show smtp errors chart (For use when analyzing mail log files) # Context: Mail # Default: 0, Possible column codes: None @@ -1428,6 +1442,16 @@ LoadPlugin="hashfiles" # #LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat" +# PLUGIN: GeoIP6 +# REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind, version >= 1.40) +# PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/geoipv6.dat[+/pathto/override.txt]] +# DESCRIPTION: Builds a country chart and adds an entry to the hosts +# table with country name +# works with IPv4 and also IPv6 addresses +# Replace spaces in the path of geoip data file with string "%20". +# +#LoadPlugin="geoip6 GEOIP_STANDARD /pathto/GeoIPv6.dat" + # PLUGIN: GeoIP_City_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) # PARAMETERS: [GEOIP_STANDARD | GEOIP_MEMORY_CACHE] [/pathto/GeoIPCity.dat[+/pathto/override.txt]] @@ -1446,7 +1470,7 @@ LoadPlugin="hashfiles" # the parameter string and the report page will include the link with the full AS number at the end. # Replace spaces in the path of geoip data file with string "%20". # -#LoadPlugin="geoip_asn_maxmind GEOIP_STANDARD /usr/local/geoip.dat+http://enc.com.au/itools/aut-num.php?autnum=" +#LoadPlugin="geoip_asn_maxmind GEOIP_STANDARD /usr/local/geoip.dat+http://enc.com.au/itools/autnum.php?asn=" # PLUGIN: GeoIP_Region_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) -- 2.34.1