From ed3c9eb5dadc2f25a4816a88c0a7fc9a1cf9f7e5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 10 Mar 2024 00:00:53 +0100 Subject: [PATCH] Fix default setup for NotPageList --- wwwroot/cgi-bin/awstats.model.conf | 6 +++--- wwwroot/cgi-bin/awstats.pl | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) 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 ); } -- 2.47.2