]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Add KeepBackupOfHistoricFiles option
authoreldy <>
Thu, 1 Nov 2001 12:55:09 +0000 (12:55 +0000)
committereldy <>
Thu, 1 Nov 2001 12:55:09 +0000 (12:55 +0000)
wwwroot/cgi-bin/awstats.model.conf

index e56ab2bd6a2cb9c0127e873f45a604dcbc6179d8..95f73cb1cf9a1a5b1836946ca0cabf69c56887b8 100644 (file)
@@ -89,6 +89,18 @@ DNSLookup=0
 #
 DirData="."
 
+# Relative or absolute web URL of your awstats.pl directory.
+# This parameter is used only when AWStats is runned from command line
+# with -output option (to generate links in HTML reported page).
+# Default: "/cgi-bin"   (means awstats.pl is in "/mywwwroot/cgi-bin")
+#
+DirCgi="/cgi-bin"
+
+# Relative or absolute web URL of all icons subdirectories.
+# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
+#
+DirIcons="/icon"
+
 # When this parameter is set to 1, AWStats add a button on report page to
 # allow to "update" statistics from a web browser. Warning, when "update" is
 # made from a browser, AWStats is runned as a CGI by the web server user
@@ -105,6 +117,37 @@ DirData="."
 #
 AllowToUpdateStatsFromBrowser=0
 
+# "SiteDomain" must contain the main domain name or the main intranet web
+# server name used to reach the web site.
+# This parameter is only used to generate full URLs links when ShowLinksOnUrl
+# option is set to 1.
+# Note: \. means .
+# Example: "www\.mysite\.com"
+# Example: "user\.mydomain\.com"
+# Example: "myintranetserver"
+# Default: ""
+#
+SiteDomain=""
+
+# Put here all other possible domain names, addresses or virtual host aliases
+# someone can use to access your site. Try to keep only the minimum number of
+# possible names/adresses to have the best performances.
+# You can repeat the "SiteDomain" value in this list.
+# Use space between each value and put a backslash before each dot.
+# This parameter is used to analyze referer field in log file and to help
+# AWStats to know if a referer URL is a local URL of same site or an URL of
+# another site.
+# Note: \. means .
+# Example: "www\.myserver\.com x\.y\.z\.w localhost 127\.0\.0\.1"
+#
+HostAliases="www\.myserver\.com x\.y\.z\.w localhost 127\.0\.0\.1"
+
+
+
+
+# OPTIONAL SETUP SECTION (Not required but increase AWStats features)
+#------------------------------------------------------------------------
+
 # AWStats can purge log after processing it. By this way, the next time you
 # launch AWStats, log file will be smaller and processing time will be better.
 # IMPORTANT !!!
@@ -130,46 +173,17 @@ PurgeLogFile=0
 #
 ArchiveLogRecords=0
 
-# Relative or absolute web URL of your awstats.pl directory.
-# This parameter is used only when AWStats is runned from command line
-# with -output option (to generate links in HTML reported page).
-# Default: "/cgi-bin"   (means awstats.pl is in "/mywwwroot/cgi-bin")
-#
-DirCgi="/cgi-bin"
-
-# Relative or absolute web URL of all icons subdirectories.
-# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
-#
-DirIcons="/icon"
-
-
-
-# OPTIONAL SETUP SECTION (Not required but increase AWStats features)
-#------------------------------------------------------------------------
-
-# "SiteDomain" must contain the main domain name or the intranet web server
-# name used to reach the web site.
-# This parameter is only used to generate full URLs links when ShowLinksOnUrl
-# option is set to 1.
-# Note: \. means .
-# Example: "www\.mysite\.com"
-# Example: "user\.mydomain\.com"
-# Example: "myintranetserver"
-# Default: ""
-#
-SiteDomain=""
-
-# Put here all possible domain names, addresses or virtual host aliases
-# someone can use to access your site. Try to keep only the minimum number of
-# possible names/adresses to have the best performances.
-# Use space between each value and put a backslash before each dot.
-# This parameter is used to analyze referer field in log file and to help
-# AWStats to know if a referer URL is a local URL of same site or an URL of
-# another site.
-# Note: \. means .
-# Example: "www\.myserver\.com x\.y\.z\.w localhost 127\.0\.0\.1"
+# Each time you run the update process, AWStats overwrite the 'historic file'
+# for the month (awstatsMMYYYY[.*].txt) with the updated one.
+# When write errors occurs (IO, disk full,...), this historic file can be
+# corrupted and must be deleted. Because this file contains information of all
+# past processed log files, you will loose old stats if removed. So you can
+# ask AWStats to save last non corrupted file in a .bak file. This file is
+# stored in "DirData" directory with other 'historic files'.
+# Possible values: 1 or 0
+# Default: 1
 #
-HostAliases="www\.myserver\.com x\.y\.z\.w localhost 127\.0\.0\.1"
+KeepBackupOfHistoricFiles=1
 
 # Set your primary language.
 # Possible value: