BuildReportFormat=html
-# In most case, AWStats is used as a cgi program. So AWStats process is ran
-# by default web server user (nobody for Unix, IUSR_xxx for IIS/Windows,...).
-# To make use easier and avoid permission's problems between update process
-# (run by an admin user) and CGI process (ran by a low level user), AWStats
-# save its database files with read and write for everyone.
-# If you have experience on managing security policies (Web Hosting Provider),
-# you should set this parameter to 0. AWStats will keep default process user
-# permissions on its files.
+# AWStats databases can be updated from command line of from a browser (when
+# used as a cgi program). So AWStats database files need write permission
+# for both command line user and default web server user (nobody for Unix,
+# IUSR_xxx for IIS/Windows,...).
+# To avoid permission's problems between update process (run by an admin user)
+# and CGI process (ran by a low level user), AWStats can save its database
+# files with read and write permissions for everyone.
+# By default, AWStats keep default user permissions on updated files. If you
+# set AllowToUpdateStatsFromBrowser to 1, you can change this parameter to 1.
# Change : Effective for new updates only
# Possible values: 0 or 1
-# Default: 1
+# Default: 0
#
-SaveDatabaseFilesWithPermissionsForEveryone=1
+SaveDatabaseFilesWithPermissionsForEveryone=0
# AWStats can purge log file, after analyzing it. Note that AWStats is able
if ($CreateDirDataIfNotExists !~ /[0-1]/) { $CreateDirDataIfNotExists=0; }
if ($BuildReportFormat !~ /html|xhtml|xml/i) { $BuildReportFormat='html'; }
if ($BuildHistoryFormat !~ /text|xml/) { $BuildHistoryFormat='text'; }
- if ($SaveDatabaseFilesWithPermissionsForEveryone !~ /[0-1]/) { $SaveDatabaseFilesWithPermissionsForEveryone=1; }
+ if ($SaveDatabaseFilesWithPermissionsForEveryone !~ /[0-1]/) { $SaveDatabaseFilesWithPermissionsForEveryone=0; }
if ($PurgeLogFile !~ /[0-1]/) { $PurgeLogFile=0; }
if ($ArchiveLogRecords !~ /[0-1]/) { $ArchiveLogRecords=0; }
if ($KeepBackupOfHistoricFiles !~ /[0-1]/) { $KeepBackupOfHistoricFiles=0; }