| 1 |
# AWStats configure file |
|---|
| 2 |
#----------------------------------------------------------------------------- |
|---|
| 3 |
# Copy this file into awstats.www.mydomain.conf or awstats.conf and edit this |
|---|
| 4 |
# new file to setup AWStats (See documentation in docs/ directory). |
|---|
| 5 |
# The config file must be in /etc/opt/awstats, /etc/awstats or /etc (for |
|---|
| 6 |
# Unix/Linux) or same directory than awstats.pl (Windows, Mac, Unix/Linux...) |
|---|
| 7 |
# To include an environment variable in any parameter (AWStats will replace |
|---|
| 8 |
# it with its value when reading it), follow the example: |
|---|
| 9 |
# Parameter="__ENVNAME__" |
|---|
| 10 |
#----------------------------------------------------------------------------- |
|---|
| 11 |
# $Revision$ - $Author$ - $Date$ |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
#----------------------------------------------------------------------------- |
|---|
| 16 |
# MAIN SETUP SECTION (Required to make AWStats working) |
|---|
| 17 |
#----------------------------------------------------------------------------- |
|---|
| 18 |
|
|---|
| 19 |
# "LogFile" contains the web server logfile to analyze. |
|---|
| 20 |
# Possible values: A full path, or a relative path from awstats.pl directory |
|---|
| 21 |
# Example: "/var/log/apache/access.log" |
|---|
| 22 |
# Example: "../logs/mycombinedlog.log" |
|---|
| 23 |
# You can also use tags in this filename if you need a dynamic file name |
|---|
| 24 |
# depending on date or time (Replacement is made by AWStats at the beginning |
|---|
| 25 |
# of its execution). This is available tags : |
|---|
| 26 |
# %YYYY-n is replaced with 4 digits year we were n hours ago |
|---|
| 27 |
# %YY-n is replaced with 2 digits year we were n hours ago |
|---|
| 28 |
# %MM-n is replaced with month we were n hours ago |
|---|
| 29 |
# %DD-n is replaced with day we were n hours ago |
|---|
| 30 |
# %HH-n is replaced with hour we were n hours ago |
|---|
| 31 |
# %WM-n is replaced with the week number in month (1-5) |
|---|
| 32 |
# You can use 0 for n if you need current year, month, day, hour... |
|---|
| 33 |
# Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log" |
|---|
| 34 |
# Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log" |
|---|
| 35 |
# |
|---|
| 36 |
LogFile="/tmp/awstats.access.log" |
|---|
| 37 |
|
|---|
| 38 |
# Put here your log format (Must match your web server config. See setup |
|---|
| 39 |
# instructions in documentation know how to configure your web server to have |
|---|
| 40 |
# the required log format). |
|---|
| 41 |
# Possible values: 1,2,3,4,5 or "your_own_personalized_log_format" |
|---|
| 42 |
# 1 = Apache native combined log format (NCSA combined/XLF/ELF log format) |
|---|
| 43 |
# 2 = IIS log format (W3C log format) |
|---|
| 44 |
# 3 = Webstar native log format |
|---|
| 45 |
# 4 = Apache or Squid native common log format (NCSA common log format) |
|---|
| 46 |
# With LogFormat=4, some features (browsers, os, keywords...) can't work. |
|---|
| 47 |
# 5 = ISA server native standard log format |
|---|
| 48 |
# "your_own_personalized_log_format" = If your log is a personalized format, |
|---|
| 49 |
# you must use the following syntax keys to define the log format string: |
|---|
| 50 |
# %host Host client name or IP address |
|---|
| 51 |
# %logname Authenticated login/user used on protected pages |
|---|
| 52 |
# %time1 Date and time with format: [dd/mmm/yyyy:hh:mm:ss +0000] |
|---|
| 53 |
# %time2 Date and time with format: yyyy-mm-dd hh:mm:ss |
|---|
| 54 |
# %methodurl Method and URL with format: "GET /index.html HTTP/x.x" |
|---|
| 55 |
# %methodurlnoprot Method and URL with format: "GET /index.html" |
|---|
| 56 |
# %method Method with format: GET |
|---|
| 57 |
# %url URL only with format: /index.html |
|---|
| 58 |
# %query Query string (used by URLWithQuery option) |
|---|
| 59 |
# %code HTTP return code with format: 999 |
|---|
| 60 |
# %bytesd Size of document in bytes |
|---|
| 61 |
# %refererquot Referer page with format: "http://from.com/from.htm" |
|---|
| 62 |
# %referer Referer page with format: http://from.com/from.htm |
|---|
| 63 |
# %uaquot User agent with format: "Mozilla/4.0 (compatible, ...)" |
|---|
| 64 |
# %ua User agent with format: Mozilla/4.0_(compatible...) |
|---|
| 65 |
# %gzipin Mod_gzip compression input bytes: In:XXX |
|---|
| 66 |
# %gzipout Mod_gzip compression output bytes & ratio: Out:YYY:ZZZpct. |
|---|
| 67 |
# %gzipratio Mod_gzip compression ratio: ZZZpct. |
|---|
| 68 |
# %syslog Syslog-specific time and host stamp with format: Mon ddhh:mm:ss hostname |
|---|
| 69 |
# If your log format has some fields not included in this list, use |
|---|
| 70 |
# %other Means another field |
|---|
| 71 |
# |
|---|
| 72 |
# Examples for Apache combined logs (this two examples are equivalent): |
|---|
| 73 |
# LogFormat = 1 |
|---|
| 74 |
# LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot" |
|---|
| 75 |
# |
|---|
| 76 |
# Examples for IIS (this two examples are equivalent): |
|---|
| 77 |
# LogFormat = 2 |
|---|
| 78 |
# LogFormat = "%time2 %host %logname %method %url %code %bytesd %other %ua %referer" |
|---|
| 79 |
# |
|---|
| 80 |
LogFormat=1 |
|---|
| 81 |
|
|---|
| 82 |
# If you want to have information on domains/countries visitors, you must ask |
|---|
| 83 |
# AWStats to make reverse DNS lookup (if not already done in your log file). |
|---|
| 84 |
# If you set DNSLookup to 1, don't forget that reverse DNS lookup decrease |
|---|
| 85 |
# seriously AWStats time processing. |
|---|
| 86 |
# If you keep DNSLookup to 0, all hosts will be reported by the IP addresses |
|---|
| 87 |
# and not by the full hostname of visitors. Domain/Country chart will also |
|---|
| 88 |
# report all visitors from a domain/country "Unknown". |
|---|
| 89 |
# Possible values: 0 or 1 |
|---|
| 90 |
# Default: 0 |
|---|
| 91 |
# |
|---|
| 92 |
DNSLookup=0 |
|---|
| 93 |
|
|---|
| 94 |
# When AWStats updates its statistics, it stores results of its analysis in |
|---|
| 95 |
# files (AWStats database). All those files are written in the directory |
|---|
| 96 |
# defined by the "DirData" parameter. Set this value to the directory where |
|---|
| 97 |
# you want AWStats to save its database and working files into. |
|---|
| 98 |
# Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser" |
|---|
| 99 |
# feature (see later), you need "Write" permissions by web server user on this |
|---|
| 100 |
# directory (and "Modify" for Windows NTFS file systems). |
|---|
| 101 |
# Example: "/var/cache/awstats" |
|---|
| 102 |
# Example: "../data" |
|---|
| 103 |
# Example: "C:/awstats_data_dir" |
|---|
| 104 |
# Default: "." (means same directory as awstats.pl) |
|---|
| 105 |
# |
|---|
| 106 |
DirData="/var/cache/awstats/%%HOSTNAME%%" |
|---|
| 107 |
|
|---|
| 108 |
# Relative or absolute web URL of your awstats.pl directory. |
|---|
| 109 |
# This parameter is used only when AWStats is run from command line |
|---|
| 110 |
# with -output option (to generate links in HTML reported page). |
|---|
| 111 |
# Default: "/cgi-bin" (means awstats.pl is in "/mywwwroot/cgi-bin") |
|---|
| 112 |
# |
|---|
| 113 |
DirCgi="/cgi-bin" |
|---|
| 114 |
|
|---|
| 115 |
# Relative or absolute web URL of all icons subdirectories. |
|---|
| 116 |
# Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon") |
|---|
| 117 |
# |
|---|
| 118 |
DirIcons="/awstats-icon" |
|---|
| 119 |
|
|---|
| 120 |
# "SiteDomain" must contain the main domain name or the main intranet web |
|---|
| 121 |
# server name used to reach the web site. |
|---|
| 122 |
# This parameter is only used to generate full URLs links when ShowLinksOnUrl |
|---|
| 123 |
# option is set to 1. |
|---|
| 124 |
# Example: "www.mydomain.com" |
|---|
| 125 |
# Example: "user.mydomain.com" |
|---|
| 126 |
# Example: "myintranetserver" |
|---|
| 127 |
# Default: "" |
|---|
| 128 |
# |
|---|
| 129 |
SiteDomain="%%HOSTNAME%%" |
|---|
| 130 |
|
|---|
| 131 |
# Put here all other possible domain names, addresses or virtual host aliases |
|---|
| 132 |
# someone can use to access your site. Try to keep only the minimum number of |
|---|
| 133 |
# possible names/addresses to have the best performances. |
|---|
| 134 |
# You can repeat the "SiteDomain" value in this list. |
|---|
| 135 |
# Use space between each value. |
|---|
| 136 |
# This parameter is used to analyze referer field in log file and to help |
|---|
| 137 |
# AWStats to know if a referer URL is a local URL of same site or an URL of |
|---|
| 138 |
# another site. |
|---|
| 139 |
# Example: "www.myserver.com x.y.z.w localhost 127.0.0.1" |
|---|
| 140 |
# |
|---|
| 141 |
HostAliases="%%HOSTNAME%%" |
|---|
| 142 |
|
|---|
| 143 |
# When this parameter is set to 1, AWStats add a button on report page to |
|---|
| 144 |
# allow to "update" statistics from a web browser. Warning, when "update" is |
|---|
| 145 |
# made from a browser, AWStats is ran as a CGI by the web server user defined |
|---|
| 146 |
# in your web server (user "nobody" by default with Apache, "IUSR_XXX" with |
|---|
| 147 |
# IIS), so the "DirData" directory and all already existing history files |
|---|
| 148 |
# awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if |
|---|
| 149 |
# necessary to "Read/Write" (and "Modify" for Windows NTFS file systems). |
|---|
| 150 |
# Warning: Update process can be long so you might experience "time out" |
|---|
| 151 |
# browser errors if you don't launch AWStats enough frequently. |
|---|
| 152 |
# When set to 0, update is only made when AWStats is ran from the command |
|---|
| 153 |
# line interface (or a task scheduler). |
|---|
| 154 |
# Possible values: 1 or 0 |
|---|
| 155 |
# Default: 0 |
|---|
| 156 |
# |
|---|
| 157 |
AllowToUpdateStatsFromBrowser=0 |
|---|
| 158 |
|
|---|
| 159 |
|
|---|
| 160 |
#----------------------------------------------------------------------------- |
|---|
| 161 |
# OPTIONAL SETUP SECTION (Not required but increase AWStats features) |
|---|
| 162 |
#----------------------------------------------------------------------------- |
|---|
| 163 |
|
|---|
| 164 |
# The following two parameters allow you to protect a config file to be used |
|---|
| 165 |
# by your AWStats program called from a browser only if web user has been |
|---|
| 166 |
# authenticated. Your AWStats program must be in a web protected "realm" (With |
|---|
| 167 |
# Apache, you can use .htaccess files to do so. With other web servers, see |
|---|
| 168 |
# your server setup manual). |
|---|
| 169 |
# Possible values: 1 or 0 |
|---|
| 170 |
# Default: 0 |
|---|
| 171 |
# |
|---|
| 172 |
AllowAccessFromWebToAuthenticatedUsersOnly=1 |
|---|
| 173 |
|
|---|
| 174 |
# This parameter give the list of all authorized authenticated users to view |
|---|
| 175 |
# statistics for this domain/config file. This parameter is used only if |
|---|
| 176 |
# AllowAccessToAuthenticatedUsersOnly is set to 1. |
|---|
| 177 |
# Example: "user1 user2" |
|---|
| 178 |
# Example: "__REMOTE_USER__" |
|---|
| 179 |
# Default: "" |
|---|
| 180 |
# |
|---|
| 181 |
AllowAccessFromWebToFollowingAuthenticatedUsers="root %%USERS%%" |
|---|
| 182 |
|
|---|
| 183 |
# If the "DirData" directory (see above) does not exists, AWStats return an |
|---|
| 184 |
# error. However, you can ask AWStats to create it. |
|---|
| 185 |
# This option can be used by some Web Hosting Providers that has defined a |
|---|
| 186 |
# dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and |
|---|
| 187 |
# don't want to have to create a new directory each time they add a new user. |
|---|
| 188 |
# Possible values: 1 or 0 |
|---|
| 189 |
# Default: 0 |
|---|
| 190 |
# |
|---|
| 191 |
CreateDirDataIfNotExists=1 |
|---|
| 192 |
|
|---|
| 193 |
# In most case, AWStats is used as a cgi program. So AWStats process is ran |
|---|
| 194 |
# by default web server user (nobody for Unix, IUSR_xxx for IIS/Windows,...). |
|---|
| 195 |
# To make use easier and avoid permission's problems between update process |
|---|
| 196 |
# (run by an admin user) and CGI process (ran by a low level user), AWStats |
|---|
| 197 |
# save its database files with read and write for everyone. |
|---|
| 198 |
# If you have experience on managing security policies (Web Hosting Provider), |
|---|
| 199 |
# you should set this parameter to 0. AWStats will keep default process user |
|---|
| 200 |
# permissions on its files. |
|---|
| 201 |
# Possible values: 1 or 0 |
|---|
| 202 |
# Default: 1 |
|---|
| 203 |
# |
|---|
| 204 |
SaveDatabaseFilesWithPermissionsForEveryone=1 |
|---|
| 205 |
|
|---|
| 206 |
# AWStats can purge log after processing it. By this way, the next time you |
|---|
| 207 |
# launch AWStats, log file will be smaller and processing time will be better. |
|---|
| 208 |
# IMPORTANT !!! |
|---|
| 209 |
# AWStats is able to detect new lines in log file, to process only them, so |
|---|
| 210 |
# you can launch AWStats as soon as you want, even with this parameter to 0. |
|---|
| 211 |
# With 0, no purge is made, so you must use a scheduled task or a web server |
|---|
| 212 |
# that make this purge frequently. |
|---|
| 213 |
# With 1, the purge of the log file is made each time AWStats is ran. |
|---|
| 214 |
# This parameter doesn't work with IIS (This web server doesn't let its log |
|---|
| 215 |
# file to be purged). |
|---|
| 216 |
# Possible values: 1 or 0 |
|---|
| 217 |
# Default: 0 |
|---|
| 218 |
# |
|---|
| 219 |
PurgeLogFile=0 |
|---|
| 220 |
|
|---|
| 221 |
# When PurgeLogFile is setup to 1, AWStats will clean your log file after |
|---|
| 222 |
# processing it. You can however keep an archive file (saved in "DirData") of |
|---|
| 223 |
# all processed log records by setting this to 1 (For example if you want to |
|---|
| 224 |
# use another log analyzer). |
|---|
| 225 |
# This parameter is not used if PurgeLogFile=0 |
|---|
| 226 |
# Possible values: 1 or 0 |
|---|
| 227 |
# Default: 0 |
|---|
| 228 |
# |
|---|
| 229 |
ArchiveLogRecords=0 |
|---|
| 230 |
|
|---|
| 231 |
# Each time you run the update process, AWStats overwrite the 'historic file' |
|---|
| 232 |
# for the month (awstatsMMYYYY[.*].txt) with the updated one. |
|---|
| 233 |
# When write errors occurs (IO, disk full,...), this historic file can be |
|---|
| 234 |
# corrupted and must be deleted. Because this file contains information of all |
|---|
| 235 |
# past processed log files, you will loose old stats if removed. So you can |
|---|
| 236 |
# ask AWStats to save last non corrupted file in a .bak file. This file is |
|---|
| 237 |
# stored in "DirData" directory with other 'historic files'. |
|---|
| 238 |
# Possible values: 1 or 0 |
|---|
| 239 |
# Default: 1 |
|---|
| 240 |
# |
|---|
| 241 |
KeepBackupOfHistoricFiles=1 |
|---|
| 242 |
|
|---|
| 243 |
# Index page name for your web server. |
|---|
| 244 |
# Example: "default.htm" |
|---|
| 245 |
# Default: "index.html" |
|---|
| 246 |
# |
|---|
| 247 |
DefaultFile="index.html" |
|---|
| 248 |
|
|---|
| 249 |
# Do not include access from clients that match following criteria. |
|---|
| 250 |
# If your log file contains IP adresses in host field, you must put here |
|---|
| 251 |
# matching IP adresses criteria. |
|---|
| 252 |
# If DNS lookup is already done in your log file, you must put here hostname |
|---|
| 253 |
# criteria. |
|---|
| 254 |
# Note: Use space between each value. |
|---|
| 255 |
# Example: "127.0.0.1 163.84. 201.101.51.1" |
|---|
| 256 |
# Example: "localhost abcxyz" |
|---|
| 257 |
# Default: "" |
|---|
| 258 |
# |
|---|
| 259 |
SkipHosts="" |
|---|
| 260 |
|
|---|
| 261 |
# You can specify specific IP addresses that should NOT be looked up in |
|---|
| 262 |
# the DNS. You may specify partial addresses (ie 163.85. for everything |
|---|
| 263 |
# behind the usual firewall setup, etc)... |
|---|
| 264 |
# This is only useful if DNSLookup=1. |
|---|
| 265 |
# Note: Use space between each value and put a backslash before each dot. |
|---|
| 266 |
# Example: "163.85. 201.101.51.2" |
|---|
| 267 |
# Default: "" |
|---|
| 268 |
# |
|---|
| 269 |
SkipDNSLookupFor="" |
|---|
| 270 |
|
|---|
| 271 |
# Use SkipFiles to ignore access to URLs that match one of following entries. |
|---|
| 272 |
# You can, with this option, add a list of not important frame pages (like |
|---|
| 273 |
# menus, etc...) to exclude them from statistics. |
|---|
| 274 |
# For example, to ignore a whole directory tree, just add "directorytoignore", |
|---|
| 275 |
# to ignore "users" pages in your stats, you can add "/~". |
|---|
| 276 |
# The oposite parameter of "SkipFiles" is "OnlyFiles". |
|---|
| 277 |
# Note: This parameter is not case sensitive. |
|---|
| 278 |
# Note: Use space between each value and do not remove default values. |
|---|
| 279 |
# Note: xxx$ means URL ending with xxx. |
|---|
| 280 |
# Example: "robots.txt$ favicon.ico$ badpage.html /~" |
|---|
| 281 |
# Default: "robots.txt$ favicon.ico$" |
|---|
| 282 |
# |
|---|
| 283 |
SkipFiles="robots.txt$ favicon.ico$" |
|---|
| 284 |
|
|---|
| 285 |
# Include in stats, only accesses to URLs that match one of following entries. |
|---|
| 286 |
# For example, if you want AWStats to filter access to keep only stats that |
|---|
| 287 |
# match a particular string, like a particular directory, you can add this |
|---|
| 288 |
# directory name in this parameter. |
|---|
| 289 |
# The opposite parameter of "OnlyFiles" is "SkipFiles". |
|---|
| 290 |
# Note: This parameter is not case sensitive. |
|---|
| 291 |
# Note: Use space between each value and do not remove default values |
|---|
| 292 |
# Note: xxx$ means URL ending by xxx. |
|---|
| 293 |
# Example: "marketing_directory" |
|---|
| 294 |
# Default: "" |
|---|
| 295 |
# |
|---|
| 296 |
OnlyFiles="" |
|---|
| 297 |
|
|---|
| 298 |
# Add here a list of kind of url (file extension) that must be counted as |
|---|
| 299 |
# "Hit only" and not as a "Hit" and "Page viewed". You can set here all images |
|---|
| 300 |
# extensions as they are hit downloaded that must be counted but they are not |
|---|
| 301 |
# viewed pages. URL with such extensions are not included in the TOP Pages/URL |
|---|
| 302 |
# report. |
|---|
| 303 |
# Note: If you want to exclude your own URLs from stats (No Pages and no Hits |
|---|
| 304 |
# reported), you should use SkipFiles parameter instead. |
|---|
| 305 |
# Example: "" |
|---|
| 306 |
# Example: "css js class gif jpg jpeg png bmp zip arj gz z wav mp3 wma mpg" |
|---|
| 307 |
# Default: "css js class gif jpg jpeg png bmp" |
|---|
| 308 |
# |
|---|
| 309 |
NotPageList="css js class gif jpg jpeg png bmp zip arj gz z wav mp3 wma mpg" |
|---|
| 310 |
|
|---|
| 311 |
# By default, AWStats considers that records found in log file are successful |
|---|
| 312 |
# hits if HTTP code returned by server is a valid HTTP code (200 and 304). |
|---|
| 313 |
# Any other code are reported in HTTP error chart. |
|---|
| 314 |
# However in some specific environnement, with web server HTTP redirection, |
|---|
| 315 |
# you can choose to also accept other codes. |
|---|
| 316 |
# Example: "200 304 302 305" |
|---|
| 317 |
# Default: "200 304" |
|---|
| 318 |
# |
|---|
| 319 |
ValidHTTPCodes="200 304" |
|---|
| 320 |
|
|---|
| 321 |
# Keep or attach the query string to the URL in the statistics for individual |
|---|
| 322 |
# pages. This is primarily used to differentiate between the URLs of dynamic |
|---|
| 323 |
# pages. If set to 1, mypage.html?id=x and mypage.html?id=y are counted as |
|---|
| 324 |
# two different pages. Warning, when set to 1, memory required to run AWStats |
|---|
| 325 |
# is doubled. |
|---|
| 326 |
# Possible values: |
|---|
| 327 |
# 0 - URLs are cleaned from the query string (ie: "/mypage.html") |
|---|
| 328 |
# 1 - Full URL with query string is used (ie: "/mypage.html?x=y") |
|---|
| 329 |
# Default: 0 |
|---|
| 330 |
# |
|---|
| 331 |
URLWithQuery=1 |
|---|
| 332 |
|
|---|
| 333 |
# AWStats can detect setup problems or show you important informations to have |
|---|
| 334 |
# a better use. Keep this to 1, except if AWStats says you can change it. |
|---|
| 335 |
# Possible values: 1 or 0 |
|---|
| 336 |
# Default: 1 |
|---|
| 337 |
# |
|---|
| 338 |
WarningMessages=1 |
|---|
| 339 |
|
|---|
| 340 |
# To help you to detect if your log format is good, AWStats report an error |
|---|
| 341 |
# if the first NbOfLinesForCorruptedLog lines have all a format that does not |
|---|
| 342 |
# match the LogFormat parameter. |
|---|
| 343 |
# However, some worm virus attack on your web server can result in a very high |
|---|
| 344 |
# number of corrupted lines in your log. So if you experience awstats stop |
|---|
| 345 |
# because of bad virus records, you can increase this parameter (very rare). |
|---|
| 346 |
# Default: 50 |
|---|
| 347 |
# |
|---|
| 348 |
NbOfLinesForCorruptedLog=500 |
|---|
| 349 |
|
|---|
| 350 |
# Search engines keywords reported are full search string or separate keywords |
|---|
| 351 |
# Possible values: |
|---|
| 352 |
# 0 - Search keywords reported are full search string (ie: "town maps") |
|---|
| 353 |
# 1 - Search keywords reported are separated words (ie: "town" and "maps") |
|---|
| 354 |
# Default: 0 |
|---|
| 355 |
# |
|---|
| 356 |
SplitSearchString=0 |
|---|
| 357 |
|
|---|
| 358 |
# You can add in the HTML report page a delay to force browsers to reload page |
|---|
| 359 |
# if page is loaded a second time after this delay (in seconds). |
|---|
| 360 |
# Example: 3600 |
|---|
| 361 |
# Default: 0 |
|---|
| 362 |
# |
|---|
| 363 |
Expires=0 |
|---|
| 364 |
|
|---|
| 365 |
# For some particular integration needs, you may want to have CGI links to |
|---|
| 366 |
# point to another script than awstats.pl. |
|---|
| 367 |
# Use the name of this script in WrapperScript parameter. |
|---|
| 368 |
# Example: "awstatslauncher.pl" |
|---|
| 369 |
# Default: "" |
|---|
| 370 |
# |
|---|
| 371 |
WrapperScript="" |
|---|
| 372 |
|
|---|
| 373 |
|
|---|
| 374 |
#----------------------------------------------------------------------------- |
|---|
| 375 |
# OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features) |
|---|
| 376 |
#----------------------------------------------------------------------------- |
|---|
| 377 |
|
|---|
| 378 |
# You can change value for following option to increase AWStats capabilities |
|---|
| 379 |
# (but this reduce AWStats speed). |
|---|
| 380 |
# Possible values: 0, 1 or 2 |
|---|
| 381 |
# Default: 1 |
|---|
| 382 |
# |
|---|
| 383 |
LevelForRobotsDetection=1 # 0 will increase AWStats speed by 1%. |
|---|
| 384 |
LevelForBrowsersDetection=1 # 0 disables Browsers detection. No speed gain. |
|---|
| 385 |
LevelForOSDetection=1 # 0 disables OS detection. No speed gain. |
|---|
| 386 |
LevelForRefererAnalyze=1 # 0 will increase AWStats speed by 6%. |
|---|
| 387 |
|
|---|
| 388 |
|
|---|
| 389 |
|
|---|
| 390 |
#----------------------------------------------------------------------------- |
|---|
| 391 |
# OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features) |
|---|
| 392 |
#----------------------------------------------------------------------------- |
|---|
| 393 |
|
|---|
| 394 |
# To avoid too large web pages, you can ask AWStats to limit number of rows of |
|---|
| 395 |
# all reported charts to this number when no other limit apply. |
|---|
| 396 |
# Default: 1000 |
|---|
| 397 |
# |
|---|
| 398 |
MaxRowsInHTMLOutput=1000 |
|---|
| 399 |
|
|---|
| 400 |
# Set your primary language. |
|---|
| 401 |
# Possible value: |
|---|
| 402 |
# Bosnian=ba, Chinese (Taiwan)=tw, Chinese (Traditional)=cn, Czech=cz, |
|---|
| 403 |
# Danish=dk, Dutch=nl, English=en, French=fr, German=de, Greek=gr, |
|---|
| 404 |
# Hungarian=hu, Indonesian=id, Italian=it, Japanese=jp, Korean=kr, |
|---|
| 405 |
# Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl, |
|---|
| 406 |
# Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru, |
|---|
| 407 |
# Spanish=es, Swedish=se, Turkish=tr, Ukrainian=ua |
|---|
| 408 |
# Default: en |
|---|
| 409 |
# |
|---|
| 410 |
Lang="fr" |
|---|
| 411 |
|
|---|
| 412 |
# Set the location of language files. |
|---|
| 413 |
# Example: "/opt/awstats/lang" |
|---|
| 414 |
# Default: "./lang" (means lang directory is in same location than awstats.pl) |
|---|
| 415 |
# |
|---|
| 416 |
DirLang="/usr/share/awstats/lang" |
|---|
| 417 |
|
|---|
| 418 |
# You choose here which summary report you want to see in the main page. |
|---|
| 419 |
# Whatever is your setup here, all detailed reports are still available. |
|---|
| 420 |
# So if you setup to 1 only ShowHeader, ShowMenu and ShowMonthDayStats, all |
|---|
| 421 |
# links in menu will still point to detailed views. |
|---|
| 422 |
# Possible values: 1 or 0 |
|---|
| 423 |
# |
|---|
| 424 |
ShowHeader=1 # Show AWStats head title and icon |
|---|
| 425 |
ShowMenu=1 # Show menu header with links on detailed reports |
|---|
| 426 |
ShowMonthDayStats=1 |
|---|
| 427 |
ShowDaysOfWeekStats=1 |
|---|
| 428 |
ShowHoursStats=1 |
|---|
| 429 |
ShowDomainsStats=1 |
|---|
| 430 |
ShowHostsStats=1 |
|---|
| 431 |
ShowAuthenticatedUsers=0 |
|---|
| 432 |
ShowRobotsStats=1 |
|---|
| 433 |
ShowPagesStats=1 |
|---|
| 434 |
ShowCompressionStats=0 # Show report of compression stats when using mod_gzip |
|---|
| 435 |
ShowFileTypesStats=1 |
|---|
| 436 |
ShowFileSizesStats=0 # Not yet available |
|---|
| 437 |
ShowBrowsersStats=1 |
|---|
| 438 |
ShowOSStats=1 |
|---|
| 439 |
ShowOriginStats=1 |
|---|
| 440 |
ShowKeyphrasesStats=1 |
|---|
| 441 |
ShowKeywordsStats=1 # Not yet available |
|---|
| 442 |
ShowHTTPErrorsStats=1 |
|---|
| 443 |
|
|---|
| 444 |
# This value can be used to choose maximum number of lines shown for each |
|---|
| 445 |
# particular reporting. |
|---|
| 446 |
# |
|---|
| 447 |
# Stats by domains |
|---|
| 448 |
MaxNbOfDomain = 200 |
|---|
| 449 |
# Stats by hosts |
|---|
| 450 |
MaxNbOfHostsShown = 200 |
|---|
| 451 |
MinHitHost = 1 |
|---|
| 452 |
# Stats by authenticated users |
|---|
| 453 |
MaxNbOfLoginShown = 10 |
|---|
| 454 |
MinHitLogin = 1 |
|---|
| 455 |
# Stats by robots |
|---|
| 456 |
MaxNbOfRobotShown = 200 |
|---|
| 457 |
MinHitRobot = 1 |
|---|
| 458 |
# Stats by pages |
|---|
| 459 |
MaxNbOfPageShown = 200 |
|---|
| 460 |
MinHitFile = 1 |
|---|
| 461 |
# Stats by referers |
|---|
| 462 |
MaxNbOfRefererShown = 200 |
|---|
| 463 |
MinHitRefer = 1 |
|---|
| 464 |
# Stats for keywords |
|---|
| 465 |
MaxNbOfKeywordsShown = 200 |
|---|
| 466 |
MinHitKeyword = 1 |
|---|
| 467 |
|
|---|
| 468 |
# Choose if you want week to start on sunday or monday |
|---|
| 469 |
# Possible values: |
|---|
| 470 |
# 0 - Week start on sunday |
|---|
| 471 |
# 1 - Week start on monday |
|---|
| 472 |
# Default: 1 |
|---|
| 473 |
# |
|---|
| 474 |
FirstDayOfWeek=1 |
|---|
| 475 |
|
|---|
| 476 |
# This parameter ask your browser to open detailed reports into a different |
|---|
| 477 |
# window than the main page. |
|---|
| 478 |
# Possible values: 1 or 0 |
|---|
| 479 |
# Default: 1 |
|---|
| 480 |
# |
|---|
| 481 |
DetailedReportsOnNewWindows=1 |
|---|
| 482 |
|
|---|
| 483 |
# List of visible flags with link to other language translations. |
|---|
| 484 |
# If you don't want any flag link, set ShowFlagLinks to "". |
|---|
| 485 |
# This parameter is used only if ShowHeader is set to 1. |
|---|
| 486 |
# Possible values: "" or "language_codes_separated_by_space" |
|---|
| 487 |
# Default: "en es fr it nl es" |
|---|
| 488 |
# |
|---|
| 489 |
ShowFlagLinks="en fr de it nl es" |
|---|
| 490 |
|
|---|
| 491 |
# Each URL shown in stats report views are links you can click. |
|---|
| 492 |
# Possible values: 1 or 0 |
|---|
| 493 |
# Default: 1 |
|---|
| 494 |
# |
|---|
| 495 |
ShowLinksOnUrl=1 |
|---|
| 496 |
|
|---|
| 497 |
# Maximum length of URL shown on stats page (number of characters). This |
|---|
| 498 |
# affects only URL visible text, link still work. |
|---|
| 499 |
# Default: 72 |
|---|
| 500 |
# |
|---|
| 501 |
MaxLengthOfURL=72 |
|---|
| 502 |
|
|---|
| 503 |
# AWStats can include a link to WhoIs database on all hostnames. For this, you |
|---|
| 504 |
# must set ShowLinksToWhoIs to 1. Warning, a such feature depends on next |
|---|
| 505 |
# parameter (LinksForWhoIs) and on WhoIs server exhaustivity and availability. |
|---|
| 506 |
# For this reason, this feature can't be a reliable feature. |
|---|
| 507 |
# Possible values: 1 or 0 |
|---|
| 508 |
# Default: 0 |
|---|
| 509 |
# |
|---|
| 510 |
ShowLinksToWhoIs=0 |
|---|
| 511 |
|
|---|
| 512 |
# Set here the link used to point to Internet WhoIs database. |
|---|
| 513 |
# This parameter is not used if ShowLinksToWhoIs is 0. |
|---|
| 514 |
# Default: "http://www.whois.net/search.cgi2?str=" |
|---|
| 515 |
# Example: "http://www.netsol.com/cgi-bin/whois/whois?SearchType=all&STRING=" |
|---|
| 516 |
# Example: "http://www.ripe.net/perl/whois?form_type=simple&searchtext=" |
|---|
| 517 |
# Example: "http://www.arin.net/cgi-bin/whois.pl?queryinput=" |
|---|
| 518 |
# |
|---|
| 519 |
LinksToWhoIs="http://www.whois.net/search.cgi2?str=" |
|---|
| 520 |
|
|---|
| 521 |
# You can put here HTML code that will be added at the top of AWStats reports. |
|---|
| 522 |
# Default: "" |
|---|
| 523 |
# |
|---|
| 524 |
HTMLHeadSection="" |
|---|
| 525 |
|
|---|
| 526 |
# You can put here HTML code that will be added at the end of AWStats reports. |
|---|
| 527 |
# Great to add advert ban. |
|---|
| 528 |
# Default: "" |
|---|
| 529 |
# |
|---|
| 530 |
HTMLEndSection="" |
|---|
| 531 |
|
|---|
| 532 |
# You can set Logo and LogoLink to use your own logo. |
|---|
| 533 |
# Logo must be the name of image file (must be in $DirIcons/other directory). |
|---|
| 534 |
# LogoLink is the expected URL when clicking on Logo. |
|---|
| 535 |
# Default: "awstats_logo1.png" |
|---|
| 536 |
# |
|---|
| 537 |
Logo="awstats_alternc.png" |
|---|
| 538 |
LogoLink="http://www.alternc.org/" |
|---|
| 539 |
|
|---|
| 540 |
# Value of maximum bar width/height for horizontal/vertical graphics bar |
|---|
| 541 |
# Default: 260/180 |
|---|
| 542 |
# |
|---|
| 543 |
BarWidth = 260 |
|---|
| 544 |
BarHeight = 180 |
|---|
| 545 |
|
|---|
| 546 |
# You can ask AWStats to use a particular CSS (Cascading Style Sheet) to |
|---|
| 547 |
# change its look. |
|---|
| 548 |
# Example: "/css/awstats.css" |
|---|
| 549 |
# Default: "" |
|---|
| 550 |
# |
|---|
| 551 |
StyleSheet="" |
|---|
| 552 |
|
|---|
| 553 |
# Those colors parameters can be used (if StyleSheet parameter is not used) |
|---|
| 554 |
# to change AWStats look. |
|---|
| 555 |
# Example: color_name="RRGGBB" # RRGGBB is Red Green Blue components in Hex |
|---|
| 556 |
# |
|---|
| 557 |
color_Background="FFFFFF" # Background color for main page (Default = "FFFFFF") |
|---|
| 558 |
color_TableBGTitle="CCCCDD" # Background color for table title (Default = "CCCCDD") |
|---|
| 559 |
color_TableTitle="000000" # Table title font color (Default = "000000") |
|---|
| 560 |
color_TableBG="CCCCDD" # Background color for table (Default = "CCCCDD") |
|---|
| 561 |
color_TableRowTitle="FFFFFF" # Table row title font color (Default = "FFFFFF") |
|---|
| 562 |
color_TableBGRowTitle="ECECEC" # Background color for row title (Default = "ECECEC") |
|---|
| 563 |
color_TableBorder="ECECEC" # Table border color (Default = "ECECEC") |
|---|
| 564 |
color_text="000000" # Color of text (Default = "000000") |
|---|
| 565 |
color_textpercent="606060" # Color of text for percent values (Default = "606060") |
|---|
| 566 |
color_titletext="000000" # Color of text title within colored Title Rows (Default = "000000") |
|---|
| 567 |
color_weekend="EAEAEA" # Color for week-end days (Default = "EAEAEA") |
|---|
| 568 |
color_link="0011BB" # Color of HTML links (Default = "0011BB") |
|---|
| 569 |
color_hover="605040" # Color of HTML on-mouseover links (Default = "605040") |
|---|
| 570 |
color_u="FF9933" # Background color for number of unique visitors (Default = "FF9933") |
|---|
| 571 |
color_v="F3F300" # Background color for number of visites (Default = "F3F300") |
|---|
| 572 |
color_p="4477DD" # Background color for number of pages (Default = "4477DD") |
|---|
| 573 |
color_h="66F0FF" # Background color for number of hits (Default = "66F0FF") |
|---|
| 574 |
color_k="339944" # Background color for number of bytes (Default = "339944") |
|---|
| 575 |
color_s="8888DD" # Background color for number of search (Default = "8888DD") |
|---|