

# When set to 0, update is only made when AWStats is ran from the command # browser errors if you don't launch AWStats enough frequently. # Warning: Update process can be long so you might experience "time out"
AWSTATS 6.4 WINDOWS
# necessary to "Read/Write" (and "Modify" for Windows NTFS file systems). # awstatsMMYYYY.txt must be writable by this user. # IIS), so the "DirData" directory and all already existing history files # in your web server (user "nobody" by default with Apache, "IUSR_XXX" with # made from a browser, AWStats is ran as a CGI by the web server user defined # allow to "update" statistics from a web browser. # When this parameter is set to 1, AWStats add a button on report page to # Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon") # path of icon directory relative to the output directory 'outputpath'. # Example: "gzip -d outputpath/output.html"), enter # You can also use a pipe if log file come from a pipe : # Use 0 for n if you need current year, month, day, hour. # %Dw-n is replaced with the day number in week (0-6, 0=sunday) # %DW-n is replaced with the day number in week (1-7, 1=sunday) # %Wy-n is replaced with the week number in year (00-51) # %WY-n is replaced with the week number in year (01-52) # %Wm-n is replaced with the week number in month (0-4) # %WM-n is replaced with the week number in month (1-5) # %NS-n is replaced with number of seconds at 00:00 since 1970

# %HH-n is replaced with hour we were n hours ago # %DD-n is replaced with day we were n hours ago # %MO-n is replaced with 3 letters month we were n hours ago # %MM-n is replaced with 2 digits month we were n hours ago # %YY-n is replaced with 2 digits year we were n hours ago # %YYYY-n is replaced with 4 digits year we were n hours ago # depending on date or time (Replacement is made by AWStats at the beginning # You can also use tags in this filename if you need a dynamic file name
AWSTATS 6.4 FULL
# Possible values: A full path, or a relative path from directory. # "LogFile" contains the web, ftp or mail server log file to analyze.

# MAIN SETUP SECTION (Required to make AWStats work) # the config value in an AWStats running session and can be used like others. # Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with # it with its value when reading it), follow the example: # To include an environment variable in any parameter (AWStats will replace # Unix/Linux) or same directory than (Windows, Mac, Unix/Linux.)

# The config file must be in /etc/awstats, /usr/local/etc/awstats or /etc (for # to setup AWStats (See documentation in docs/ directory). # Copy this file into awstats.and edit this new config file var/www/awstats/ -config=$domain $(cat /etc/awstats/options 2>/dev/null) Sed -e -e $model > /etc/awstats/awstats.$nf If thenĬp -f /usr/local/etc/ /usr/local/model="/usr/local/fiĭomains=$(cat /usr/local/logs/*./logmap | tr ' ' '_' | sort | uniq) Grep -vi '^redirectpermanent /stats' $i | sed '/ServerName/' > $i.$$ & mv -f $i $i.bak & mv -f $i.$$ $i ScriptAlias /awstats/ "/var/www/awstats/" ScriptAlias /cgi-bin/ "/www/apache/cgi-bin/" Alias /awstatsclasses "/var/www/awstats/classes/"Īlias /awstatscss "/var/www/awstats/css/"Īlias /awstatsicons "/var/www/awstats/icons/"
