From: Laurent Destailleur Date: Sat, 9 Mar 2024 23:00:53 +0000 (+0100) Subject: Fix default setup for NotPageList X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed3c9eb5dadc2f25a4816a88c0a7fc9a1cf9f7e5;p=thirdparty%2FAWStats.git Fix default setup for NotPageList --- diff --git a/wwwroot/cgi-bin/awstats.model.conf b/wwwroot/cgi-bin/awstats.model.conf index 51bbb0d3..8dcb0d11 100644 --- a/wwwroot/cgi-bin/awstats.model.conf +++ b/wwwroot/cgi-bin/awstats.model.conf @@ -596,11 +596,11 @@ OnlyFiles="" # Note: If you want to exclude particular URLs from stats (No Pages and no # Hits reported), you must use SkipFiles parameter. # Change : Effective for new updates only -# Example: "css js class gif jpg jpeg png bmp ico rss xml swf zip arj rar gz z bz2 wav mp3 wma mpg avi" +# Example: "css js class gif jpg jpeg png bmp ico rss xml swf zip arj rar gz z bz2 wav webp mp3 wma mpg avi" # Example: "" -# Default: "css js class gif jpg jpeg png bmp ico rss xml swf eot woff woff2" +# Default: "css js class gif jpg jpeg png bmp ico rss xml swf eot webp woff woff2" # -NotPageList="css js class gif jpg jpeg png bmp ico rss xml swf eot woff woff2" +NotPageList="css js class gif jpg jpeg png bmp ico rss xml swf eot webp woff woff2" # By default, AWStats considers that records found in web log file are diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index a5e98574..f4b1565c 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1823,8 +1823,13 @@ sub Read_Config { 'png' => 1, 'bmp' => 1, 'ico' => 1, + 'rss' => 1, 'swf' => 1, - 'webp' => 1 + 'webp' => 1, + 'xml' => 1, + 'eot' => 1, + 'woff' => 1, + 'woff2' => 1 ); }