Article ID: 1776, created on Apr 3, 2007, last review on Oct 13, 2016

  • Applies to:
  • Plesk for Windows

Symptoms

Custom changes to AWStats setting need to be made, but Plesk keeps overwriting them.

Resolution

Settings overwriting can be prevented by configuring the domain configuration file located in %plesk_dir%Additional\AWStats\wwwroot\cgi-bin\

The file name is similar to awstats.<domain name>.conf where <domain name> is a name of a domain. Changes made to this file will permanently configure web statistics on the domain.
Note: All changes made in awstats.<domain name>.conf on domain level in %plesk_vhosts%<domain name>\statistics\webstat\AWStats\wwwroot\cgi-bin\ will be overwritten by the file from %plesk_dir%Additional\AWStats\wwwroot\cgi-bin\

But there is a list of parameters that are required by Plesk and will be overwritten in any case:

LogType, LogFormat, SiteDomain, HostAliases, DNSLookup, DirData, DirCgi, DirIcons, SaveDatabaseFilesWithPermissionsForEveryone, DefaultFile, LogFile, HTMLEndSection

85a92ca67f2200d36506862eaa6ed6b8 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF