TEXT   37

Awsstats configure file

Guest on 7th July 2022 08:10:02 AM

  1. # AWSTATS CONFIGURE FILE 6.6
  2. #-----------------------------------------------------------------------------
  3. # Copy this file into awstats.www.mydomain.conf and edit this new config file
  4. # to setup AWStats (See documentation in docs/ directory).
  5. # The config file must be in /etc/awstats, /usr/local/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. # Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with
  11. # the config value in an AWStats running session and can be used like others.
  12. #-----------------------------------------------------------------------------
  13. # $Revision: 1.327 $ - $Author: eldy $ - $Date: 2006/04/21 22:28:49 $
  14.  
  15.  
  16.  
  17. #-----------------------------------------------------------------------------
  18. # MAIN SETUP SECTION (Required to make AWStats work)
  19. #-----------------------------------------------------------------------------
  20.  
  21. # "LogFile" contains the web, ftp or mail server log file to analyze.
  22. # Possible values: A full path, or a relative path from awstats.pl directory.
  23. # Example: "/var/log/apache/access.log"
  24. # Example: "../logs/mycombinedlog.log"
  25. # You can also use tags in this filename if you need a dynamic file name
  26. # depending on date or time (Replacement is made by AWStats at the beginning
  27. # of its execution). This is available tags :
  28. #   %YYYY-n  is replaced with 4 digits year we were n hours ago
  29. #   %YY-n    is replaced with 2 digits year we were n hours ago
  30. #   %MM-n    is replaced with 2 digits month we were n hours ago
  31. #   %MO-n    is replaced with 3 letters month we were n hours ago
  32. #   %DD-n    is replaced with day we were n hours ago
  33. #   %HH-n    is replaced with hour we were n hours ago
  34. #   %NS-n    is replaced with number of seconds at 00:00 since 1970
  35. #   %WM-n    is replaced with the week number in month (1-5)
  36. #   %Wm-n    is replaced with the week number in month (0-4)
  37. #   %WY-n    is replaced with the week number in year (01-52)
  38. #   %Wy-n    is replaced with the week number in year (00-51)
  39. #   %DW-n    is replaced with the day number in week (1-7, 1=sunday)
  40. #                              use n=24 if you need (1-7, 1=monday)
  41. #   %Dw-n    is replaced with the day number in week (0-6, 0=sunday)
  42. #                              use n=24 if you need (0-6, 0=monday)
  43. #   Use 0 for n if you need current year, month, day, hour...
  44. # Example: "/var/log/access_log.%YYYY-0%MM-0%DD-0.log"
  45. # Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex%YY-24%MM-24%DD-24.log"
  46. # You can also use a pipe if log file come from a pipe :
  47. # Example: "gzip -d </var/log/apache/access.log.gz |"
  48. # If there are several log files from load balancing servers :
  49. # Example: "/pathtotools/logresolvemerge.pl *.log |"
  50. #
  51. LogFile="/etc/awstats/logresolvemerge.pl /var/log/apache2/main-access.* |"
  52.  
  53.  
  54. # Enter the log file type you want to analyze.
  55. # Possible values:
  56. #  W - For a web log file
  57. #  S - For a streaming log file
  58. #  M - For a mail log file
  59. #  F - For a ftp log file
  60. # Example: W
  61. # Default: W
  62. #
  63. LogType=W
  64.  
  65.  
  66. # Enter here your log format (Must match your web server config. See setup
  67. # instructions in documentation to know how to configure your web server to
  68. # have the required log format).
  69. # Possible values: 1,2,3,4 or "your_own_personalized_log_format"
  70. # 1 - Apache or Lotus Notes/Domino native combined log format (NCSA combined/XLF/ELF log format)
  71. # 2 - IIS or ISA format (IIS W3C log format). See FAQ-COM115 For ISA.
  72. # 3 - Webstar native log format.
  73. # 4 - Apache or Squid native common log format (NCSA common/CLF log format)
  74. #     With LogFormat=4, some features (browsers, os, keywords...) can't work.
  75. # "your_own_personalized_log_format" = If your log is ftp, mail or other format,
  76. #     you must use following keys to define the log format string (See FAQ for
  77. #     ftp, mail or exotic web log format examples):
  78. #   %host             Client hostname or IP address (or Sender host for mail log)
  79. #   %host_r           Receiver hostname or IP address (for mail log)
  80. #   %lognamequot      Authenticated login/user with format: "john"
  81. #   %logname          Authenticated login/user with format: john
  82. #   %time1            Date and time with format: [dd/mon/yyyy:hh:mm:ss +0000] or [dd/mon/yyyy:hh:mm:ss]
  83. #   %time2            Date and time with format: yyyy-mm-dd hh:mm:ss
  84. #   %time3            Date and time with format: Mon dd hh:mm:ss or Mon dd hh:mm:ss yyyy
  85. #   %time4            Date and time with unix timestamp format: dddddddddd
  86. #   %methodurl        Method and URL with format: "GET /index.html HTTP/x.x"
  87. #   %methodurlnoprot  Method and URL with format: "GET /index.html"
  88. #   %method           Method with format: GET
  89. #   %url              URL only with format: /index.html
  90. #   %query            Query string (used by URLWithQuery option)
  91. #   %code             Return code status (with format for web log: 999)
  92. #   %bytesd           Size of document in bytes
  93. #   %refererquot      Referer page with format: "http://from.com/from.htm"
  94. #   %referer          Referer page with format: http://from.com/from.htm
  95. #   %uabracket        User agent with format: [Mozilla/4.0 (compatible, ...)]
  96. #   %uaquot           User agent with format: "Mozilla/4.0 (compatible, ...)"
  97. #   %ua               User agent with format: Mozilla/4.0_(compatible...)
  98. #   %gzipin           mod_gzip compression input bytes: In:XXX
  99. #   %gzipout          mod_gzip compression output bytes & ratio: Out:YYY:ZZpct.
  100. #   %gzipratio        mod_gzip compression ratio: ZZpct.
  101. #   %deflateratio     mod_deflate compression ratio with format: (ZZ)
  102. #   %email            EMail sender (for mail log)
  103. #   %email_r          EMail receiver (for mail log)
  104. #   %virtualname      Web sever virtual hostname. Use this tag when same log
  105. #                     contains data of several virtual web servers. AWStats
  106. #                     will discard records not in SiteDomain nor HostAliases
  107. #   %cluster          If log file is provided from several computers (merged by
  108. #                     logresolvemerge.pl), use this to define cluster id field.
  109. #   %extraX           Another field that you plan to use for building a
  110. #                     personalized report with ExtraSection feature (See later).
  111. #   If your log format has some fields not included in this list, use:
  112. #   %other            Means another not used field
  113. #   %otherquot        Means another not used double quoted field
  114. #
  115. # Examples for Apache combined logs (following two examples are equivalent):
  116. # LogFormat = 1
  117. # LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"
  118. #
  119. # Example for IIS:
  120. # LogFormat = 2
  121. #
  122.   LogFormat= "%virtualname %host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot" combined
  123. #  LogFormat = 1
  124.  
  125. # If your log field's separator is not a space, you can change this parameter.
  126. # This parameter is not used if LogFormat is a predefined value (1,2,3,4)
  127. # Backslash can be used as escape character.
  128. # Example: " "
  129. # Example: "\t"
  130. # Example: "\|"
  131. # Example: ","
  132. # Default: " "
  133. #
  134. LogSeparator=" "
  135.  
  136.  
  137. # "SiteDomain" must contain the main domain name, or the main intranet web
  138. # server name, used to reach the web site.
  139. # If you share the same log file for several virtual web servers, this
  140. # parameter is used to tell AWStats to filter record that contains records for
  141. # this virtual host name only (So check that this virtual hostname can be
  142. # found in your log file and use a personalized log format that include the
  143. # %virtualname tag).
  144. # But for multi hosting a better solution is to have one log file for each
  145. # virtual web server. In this case, this parameter is only used to generate
  146. # full URL's links when ShowLinksOnUrl option is set to 1.
  147. # If analyzing mail log, enter here the domain name of mail server.
  148. # Example: "myintranetserver"
  149. # Example: "www.domain.com"
  150. # Example: "ftp.domain.com"
  151. # Example: "domain.com"
  152. #
  153. SiteDomain="www.ait.asia"
  154.  
  155.  
  156. # Enter here all other possible domain names, addresses or virtual host
  157. # aliases someone can use to access your site. Try to keep only the minimum
  158. # number of possible names/addresses to have the best performances.
  159. # You can repeat the "SiteDomain" value in this list.
  160. # This parameter is used to analyze referer field in log file and to help
  161. # AWStats to know if a referer URL is a local URL of same site or an URL of
  162. # another site.
  163. # Note: Use space between each value.
  164. # Note: You can use regular expression values writing value with REGEX[value].
  165. # Note: You can also use @/mypath/myfile if list of aliases are in a file.
  166. # Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]"
  167. #
  168. HostAliases=""
  169.  
  170.  
  171. # If you want to have hosts reported by name instead of ip address, AWStats
  172. # need to make reverse DNS lookups (if not already done in your log file).
  173. # With DNSLookup to 0, all hosts will be reported by their IP addresses and
  174. # not by the full hostname of visitors (except if names are already available
  175. # in log file).
  176. # If you want/need to set DNSLookup to 1, don't forget that this will reduce
  177. # dramatically AWStats update process speed. Do not use on large web sites.
  178. # Note: Reverse DNS lookup is done on IPv4 only (Enable ipv6 plugin for IPv6).
  179. # Note: Result of DNS Lookup can be used to build the Country report. However
  180. # it is highly recommanded to enable the plugin 'geoipfree' or 'geoip' to
  181. # have an accurate Country report with no need of DNS Lookup.
  182. # Possible values:
  183. # 0 - No DNS Lookup
  184. # 1 - DNS Lookup is fully enabled
  185. # 2 - DNS Lookup is made only from static DNS cache file (if it exists)
  186. # Default: 2
  187. #
  188. DNSLookup=2
  189.  
  190.  
  191. # When AWStats updates its statistics, it stores results of its analysis in
  192. # files (AWStats database). All those files are written in the directory
  193. # defined by the "DirData" parameter. Set this value to the directory where
  194. # you want AWStats to save its database and working files into.
  195. # Warning: If you want to be able to use the "AllowToUpdateStatsFromBrowser"
  196. # feature (see later), you need "Write" permissions by web server user on this
  197. # directory (and "Modify" for Windows NTFS file systems).
  198. # Example: "/var/lib/awstats"
  199. # Example: "../data"
  200. # Example: "C:/awstats_data_dir"
  201. # Default: "."          (means same directory as awstats.pl)
  202. #
  203. DirData="/etc/awstats"
  204.  
  205.  
  206. # Relative or absolute web URL of your awstats cgi-bin directory.
  207. # This parameter is used only when AWStats is run from command line
  208. # with -output option (to generate links in HTML reported page).
  209. # Example: "/awstats"
  210. # Default: "/cgi-bin"   (means awstats.pl is in "/yourwwwroot/cgi-bin")
  211. #
  212. DirCgi="/cgi-bin"
  213.  
  214.  
  215. # Relative or absolute web URL of your awstats icon directory.
  216. # If you build static reports ("... -output > outputpath/output.html"), enter
  217. # path of icon directory relative to the output directory 'outputpath'.
  218. # Example: "/awstatsicons"
  219. # Example: "../icon"
  220. # Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
  221. #
  222. DirIcons="/icon"
  223.  
  224.  
  225. # When this parameter is set to 1, AWStats adds a button on report page to
  226. # allow to "update" statistics from a web browser. Warning, when "update" is
  227. # made from a browser, AWStats is run as a CGI by the web server user defined
  228. # in your web server (user "nobody" by default with Apache, "IUSR_XXX" with
  229. # IIS), so the "DirData" directory and all already existing history files
  230. # awstatsMMYYYY[.xxx].txt must be writable by this user. Change permissions if
  231. # necessary to "Read/Write" (and "Modify" for Windows NTFS file systems).
  232. # Warning: Update process can be long so you might experience "time out"
  233. # browser errors if you don't launch AWStats frequently enough.
  234. # When set to 0, update is only made when AWStats is run from the command
  235. # line interface (or a task scheduler).
  236. # Possible values: 0 or 1
  237. # Default: 0
  238. #
  239. AllowToUpdateStatsFromBrowser=0
  240.  
  241.  
  242. # AWStats saves and sorts its database on a month basis (except if using
  243. # databasebreak option from command line).
  244. # However, if you choose the -month=all from command line or
  245. # value '-Year-' from CGI combo form to have a report for all year, AWStats
  246. # needs to reload all data for full year (each month), and sort them,
  247. # requiring a large amount of time, memory and CPU. This might be a problem
  248. # for web hosting providers that offer AWStats for large sites, on shared
  249. # servers, to non CPU cautious customers.
  250. # For this reason, the 'full year' is only enabled on Command Line by default.
  251. # You can change this by setting this parameter to 0, 1, 2 or 3.
  252. # Possible values:
  253. #  0 - Never allowed
  254. #  1 - Allowed on CLI only, -Year- value in combo is not visible
  255. #  2 - Allowed on CLI only, -Year- value in combo is visible but not allowed
  256. #  3 - Possible on CLI and CGI
  257. # Default: 2
  258. #
  259. AllowFullYearView=3
  260.  
  261.  
  262.  
  263. #-----------------------------------------------------------------------------
  264. # OPTIONAL SETUP SECTION (Not required but increase AWStats features)
  265. #-----------------------------------------------------------------------------
  266.  
  267. # When the update process runs, AWStats can set a lock file in TEMP or TMP
  268. # directory. This lock is to avoid to have 2 update processes running at the
  269. # same time to prevent unknown conflicts problems and avoid DoS attacks when
  270. # AllowToUpdateStatsFromBrowser is set to 1.
  271. # Because, when you use lock file, you can experience sometimes problems in
  272. # lock file not correctly removed (killed process for example requires that
  273. # you remove the file manualy), this option is not enabled by default (Do
  274. # not enable this option with no console server access).
  275. # Change : Effective immediatly
  276. # Possible values: 0 or 1
  277. # Default: 0
  278. #
  279. EnableLockForUpdate=0
  280.  
  281.  
  282. # AWStats can do reverse DNS lookups through a static DNS cache file that was
  283. # previously created manually. If no path is given in static DNS cache file
  284. # name, AWStats will search DirData directory. This file is never changed.
  285. # This option is not used if DNSLookup=0.
  286. # Note: DNS cache file format is 'minsince1970 ipaddress resolved_hostname'
  287. # or just 'ipaddress resolved_hostname'
  288. # Change : Effective for new updates only
  289. # Example: "/mydnscachedir/dnscache"
  290. # Default: "dnscache.txt"
  291. #
  292. DNSStaticCacheFile="dnscache.txt"
  293.  
  294.  
  295. # AWStats can do reverse DNS lookups through a DNS cache file that was created
  296. # by a previous run of AWStats. This file is erased and recreated after each
  297. # statistics update process. You don't need to create and/or edit it.
  298. # AWStats will read and save this file in DirData directory.
  299. # This option is used only if DNSLookup=1.
  300. # Note: If a DNSStaticCacheFile is available, AWStats will check for DNS
  301. # lookup in DNSLastUpdateCacheFile after checking into DNSStaticCacheFile.
  302. # Change : Effective for new updates only
  303. # Example: "/mydnscachedir/dnscachelastupdate"
  304. # Default: "dnscachelastupdate.txt"
  305. #
  306. DNSLastUpdateCacheFile="dnscachelastupdate.txt"
  307.  
  308.  
  309. # You can specify specific IP addresses that should NOT be looked up in DNS.
  310. # This option is used only if DNSLookup=1.
  311. # Note: Use space between each value.
  312. # Note: You can use regular expression values writing value with REGEX[value].
  313. # Change : Effective for new updates only
  314. # Example: "123.123.123.123 REGEX[^192\.168\.]"
  315. # Default: ""
  316. #
  317. SkipDNSLookupFor=""
  318.  
  319.  
  320. # The following two parameters allow you to protect a config file from being
  321. # read by AWStats when called from a browser if web user has not been
  322. # authenticated. Your AWStats program must be in a web protected "realm" (With
  323. # Apache, you can use .htaccess files to do so. With other web servers, see
  324. # your server setup manual).
  325. # Change : Effective immediatly
  326. # Possible values: 0 or 1
  327. # Default: 0
  328. #
  329. AllowAccessFromWebToAuthenticatedUsersOnly=0
  330.  
  331.  
  332. # This parameter gives the list of all authorized authenticated users to view
  333. # statistics for this domain/config file. This parameter is used only if
  334. # AllowAccessFromWebToAuthenticatedUsersOnly is set to 1.
  335. # Change : Effective immediatly
  336. # Example: "user1 user2"
  337. # Example: "__REMOTE_USER__"
  338. # Default: ""
  339. #
  340. AllowAccessFromWebToFollowingAuthenticatedUsers=""
  341.  
  342.  
  343. # When this parameter is defined to something, the IP address of the user that
  344. # reads its statistics from a browser (when AWStats is used as a CGI) is
  345. # checked and must match one of the IP address values or ranges.
  346. # Change : Effective immediatly
  347. # Example: "127.0.0.1 123.123.123.1-123.123.123.255"
  348. # Default: ""
  349. #
  350. AllowAccessFromWebToFollowingIPAddresses=""
  351.  
  352.  
  353. # If the "DirData" directory (see above) does not exist, AWStats return an
  354. # error. However, you can ask AWStats to create it.
  355. # This option can be used by some Web Hosting Providers that has defined a
  356. # dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and
  357. # don't want to have to create a new directory each time they add a new user.
  358. # Change : Effective immediatly
  359. # Possible values: 0 or 1
  360. # Default: 0
  361. #
  362. CreateDirDataIfNotExists=0
  363.  
  364.  
  365. # You can choose in which format the Awstats history database is saved.
  366. # Note: Using "xml" format make AWStats building database files three times
  367. # larger than using "text" format.
  368. # Change : Database format is switched after next update
  369. # Possible values: text or xml
  370. # Default: text
  371. #
  372. BuildHistoryFormat=text
  373.  
  374.  
  375. # If you prefer having the report output pages be built as XML compliant pages
  376. # instead of simple HTML pages, you can set this to 'xhtml' (May not work
  377. # properly with old browsers).
  378. # Change : Effective immediatly
  379. # Possible values: html or xhtml
  380. # Default: html
  381. #
  382. BuildReportFormat=html
  383.  
  384.  
  385. # AWStats databases can be updated from command line of from a browser (when
  386. # used as a cgi program). So AWStats database files need write permission
  387. # for both command line user and default web server user (nobody for Unix,
  388. # IUSR_xxx for IIS/Windows,...).
  389. # To avoid permission problems between update process (run by an admin user)
  390. # and CGI process (ran by a low level user), AWStats can save its database
  391. # files with read and write permissions for everyone.
  392. # By default, AWStats keeps default user permissions on updated files. If you
  393. # set AllowToUpdateStatsFromBrowser to 1, you can change this parameter to 1.
  394. # Change : Effective for new updates only
  395. # Possible values: 0 or 1
  396. # Default: 0
  397. #
  398. SaveDatabaseFilesWithPermissionsForEveryone=0
  399.  
  400.  
  401. # AWStats can purge log file, after analyzing it. Note that AWStats is able
  402. # to detect new lines in a log file, to process only them, so you can launch
  403. # AWStats as often as you want, even with this parameter to 0.
  404. # With 0, no purge is made, so you must use a scheduled task or a web server
  405. # that make this purge frequently.
  406. # With 1, the purge of the log file is made each time AWStats update is run.
  407. # This parameter doesn't work with IIS (This web server doesn't let its log
  408. # file to be purged).
  409. # Change : Effective for new updates only
  410. # Possible values: 0 or 1
  411. # Default: 0
  412. #
  413. PurgeLogFile=0
  414.  
  415.  
  416. # When PurgeLogFile is setup to 1, AWStats will clean your log file after
  417. # processing it. You can however keep an archive file of all processed log
  418. # records by setting this parameter (For example if you want to use another
  419. # log analyzer). The archived log file is saved in "DirData" with name
  420. # awstats_archive.configname[.suffix].log
  421. # This parameter is not used if PurgeLogFile=0
  422. # Change : Effective for new updates only
  423. # Possible values: 0, 1, or tags (See LogFile parameter) for suffix
  424. # Example: 1
  425. # Example: %YYYY%MM%DD
  426. # Default: 0
  427. #
  428. ArchiveLogRecords=0
  429.  
  430.  
  431. # Each time you run the update process, AWStats overwrites the 'historic file'
  432. # for the month (awstatsMMYYYY[.*].txt) with the updated one.
  433. # When write errors occurs (IO, disk full,...), this historic file can be
  434. # corrupted and must be deleted. Because this file contains information of all
  435. # past processed log files, you will loose old stats if removed. So you can
  436. # ask AWStats to save last non corrupted file in a .bak file. This file is
  437. # stored in "DirData" directory with other 'historic files'.
  438. # Change : Effective for new updates only
  439. # Possible values: 0 or 1
  440. # Default: 0
  441. #
  442. KeepBackupOfHistoricFiles=0
  443.  
  444.  
  445. # Default index page name for your web server.
  446. # Change : Effective for new updates only
  447. # Example: "index.php index.html default.html"
  448. # Default: "index.html"
  449. #
  450. DefaultFile="index.html"
  451.  
  452.  
  453. # Do not include access from clients that match following criteria.
  454. # If your log file contains IP addresses in host field, you must enter here
  455. # matching IP addresses criteria.
  456. # If DNS lookup is already done in your log file, you must enter here hostname
  457. # criteria, else enter ip address criteria.
  458. # The opposite parameter of "SkipHosts" is "OnlyHosts".
  459. # Note: Use space between each value. This parameter is not case sensitive.
  460. # Note: You can use regular expression values writing value with REGEX[value].
  461. # Change : Effective for new updates only
  462. # Example: "127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.]"
  463. # Example: "localhost REGEX[^.*\.localdomain$]"
  464. # Default: ""
  465. #
  466. SkipHosts="REGEX[^203\.159\.] REGEX[^192\.41\.170\.]"
  467.  
  468.  
  469. # Do not include access from clients with a user agent that match following
  470. # criteria. If you want to exclude a robot, you should update the robots.pm
  471. # file instead of this parameter.
  472. # The opposite parameter of "SkipUserAgents" is "OnlyUserAgents".
  473. # Note: Use space between each value. This parameter is not case sensitive.
  474. # Note: You can use regular expression values writing value with REGEX[value].
  475. # Change : Effective for new updates only
  476. # Example: "konqueror REGEX[ua_test_v\d\.\d]"
  477. # Default: ""
  478. #
  479. SkipUserAgents=""
  480.  
  481.  
  482. # Use SkipFiles to ignore access to URLs that match one of following entries.
  483. # You can enter a list of not important URLs (like framed menus, hidden pages,
  484. # etc...) to exclude them from statistics. You must enter here exact relative
  485. # URL as found in log file, or a matching REGEX value. Check apply on URL with
  486. # all its query paramaters.
  487. # For example, to ignore /badpage.php, just add "/badpage.php". To ignore all
  488. # pages in a particular directory, add "REGEX[^\/directorytoexclude]".
  489. # The opposite parameter of "SkipFiles" is "OnlyFiles".
  490. # Note: Use space between each value. This parameter is or not case sensitive
  491. # depending on URLNotCaseSensitive parameter.
  492. # Note: You can use regular expression values writing value with REGEX[value].
  493. # Change : Effective for new updates only
  494. # Example: "/badpage.php /page.php?param=x REGEX[^\/excludedirectory]"
  495. # Default: ""
  496. #
  497. SkipFiles=""
  498.  
  499.  
  500. # Use SkipReferrersBlackList if you want to exclude records coming from a SPAM
  501. # referrer. Parameter must receive a local file name containing rules applied
  502. # on referrer field. If parameter is empty, no filter is applied.
  503. # An example of such a file is available in lib/blacklist.txt
  504. # You can download updated version at http://www.jayallen.org/comment_spam/
  505. # Change : Effective for new updates only
  506. # Example: "/mylibpath/blacklist.txt"
  507. # Default: ""
  508. #
  509. # WARNING!! Using this feature make AWStats running very slower (5 times slower
  510. # with black list file provided with AWStats !
  511. #
  512. SkipReferrersBlackList=""
  513.  
  514.  
  515. # Include in stats, only accesses from hosts that match one of following
  516. # entries. For example, if you want AWStats to filter access to keep only
  517. # stats for visits from particular hosts, you can add those host names in
  518. # this parameter.
  519. # If DNS lookup is already done in your log file, you must enter here hostname
  520. # criteria, else enter ip address criteria.
  521. # The opposite parameter of "OnlyHosts" is "SkipHosts".
  522. # Note: Use space between each value. This parameter is not case sensitive.
  523. # Note: You can use regular expression values writing value with REGEX[value].
  524. # Change : Effective for new updates only
  525. # Example: "127.0.0.1 REGEX[^192\.168\.] REGEX[^10\.]"
  526. # Default: ""
  527. #
  528. OnlyHosts=""
  529.  
  530.  
  531. # Include in stats, only accesses from user agent that match one of following
  532. # entries. For example, if you want AWStats to filter access to keep only
  533. # stats for visits from particular browsers, you can add their user agents
  534. # string in this parameter.
  535. # The opposite parameter of "OnlyUserAgents" is "SkipUserAgents".
  536. # Note: Use space between each value. This parameter is not case sensitive.
  537. # Note: You can use regular expression values writing value with REGEX[value].
  538. # Change : Effective for new updates only
  539. # Example: "msie"
  540. # Default: ""
  541. #
  542. OnlyUserAgents=""
  543.  
  544.  
  545. # Include in stats, only accesses to URLs that match one of following entries.
  546. # For example, if you want AWStats to filter access to keep only stats that
  547. # match a particular string, like a particular directory, you can add this
  548. # directory name in this parameter.
  549. # The opposite parameter of "OnlyFiles" is "SkipFiles".
  550. # Note: Use space between each value. This parameter is or not case sensitive
  551. # depending on URLNotCaseSensitive parameter.
  552. # Note: You can use regular expression values writing value with REGEX[value].
  553. # Change : Effective for new updates only
  554. # Example: "REGEX[marketing_directory] REGEX[office\/.*\.(csv|sxw)$]"
  555. # Default: ""
  556. #
  557. OnlyFiles=""
  558.  
  559.  
  560. # Add here a list of kind of url (file extension) that must be counted as
  561. # "Hit only" and not as a "Hit" and "Page/Download". You can set here all
  562. # image extensions as they are hit downloaded that must be counted but they
  563. # are not viewed pages. URLs with such extensions are not included in the TOP
  564. # Pages/URL report.
  565. # Note: If you want to exclude particular URLs from stats (No Pages and no
  566. # Hits reported), you must use SkipFiles parameter.
  567. # Change : Effective for new updates only
  568. # Example: "css js class gif jpg jpeg png bmp ico zip arj gz z wav mp3 wma mpg"
  569. # Example: ""
  570. # Default: "css js class gif jpg jpeg png bmp ico"
  571. #
  572. NotPageList="css js class gif jpg jpeg png bmp ico swf"
  573.  
  574.  
  575. # By default, AWStats considers that records found in web log file are
  576. # successful hits if HTTP code returned by server is a valid HTTP code (200
  577. # and 304). Any other code are reported in HTTP status chart.
  578. # Note that HTTP 'control codes', like redirection (302, 305) are not added by
  579. # default in this list as they are not pages seen by a visitor but are
  580. # protocol exchange codes to tell the browser to ask another page. Because
  581. # this other page will be counted and seen with a 200 or 304 code, if you
  582. # add such codes, you will have 2 pages viewed reported for only one in facts.
  583. # Change : Effective for new updates only
  584. # Example: "200 304 302 305"
  585. # Default: "200 304"
  586. #
  587. ValidHTTPCodes="200 304"
  588.  
  589.  
  590. # By default, AWStats considers that records found in mail log file are
  591. # successful mail transfers if field that represent return code in analyzed
  592. # log file match values defined by this parameter.
  593. # Change : Effective for new updates only
  594. # Example: "1 250 200"
  595. # Default: "1 250"
  596. #
  597. ValidSMTPCodes="1 250"
  598.  
  599.  
  600. # Some web servers on some Operating systems (IIS-Windows) consider that a
  601. # login with same value but different case are the same login. To tell AWStats
  602. # to also consider them as one, set this parameter to 1.
  603. # Change : Effective for new updates only
  604. # Possible values: 0 or 1
  605. # Default: 0
  606. #
  607. AuthenticatedUsersNotCaseSensitive=0
  608.  
  609.  
  610. # Some web servers on some Operating systems (IIS-Windows) considers that two
  611. # URLs with same value but different case are the same URL. To tell AWStats to
  612. # also considers them as one, set this parameter to 1.
  613. # Change : Effective for new updates only
  614. # Possible values: 0 or 1
  615. # Default: 0
  616. #
  617. URLNotCaseSensitive=0
  618.  
  619.  
  620. # Keep or remove the anchor string you can find in some URLs.
  621. # Change : Effective for new updates only
  622. # Possible values: 0 or 1
  623. # Default: 0
  624. #
  625. URLWithAnchor=0
  626.  
  627.  
  628. # In URL links, "?" char is used to add parameter's list in URLs. Syntax is:
  629. # /mypage.html?param1=value1&param2=value2
  630. # However, some servers/sites use also other chars to isolate dynamic part of
  631. # their URLs. You can complete this list with all such characters.
  632. # Change : Effective for new updates only
  633. # Example: "?;,"
  634. # Default: "?;"
  635. #
  636. URLQuerySeparators="?;"
  637.  
  638.  
  639. # Keep or remove the query string to the URL in the statistics for individual
  640. # pages. This is primarily used to differentiate between the URLs of dynamic
  641. # pages. If set to 1, mypage.html?id=x and mypage.html?id=y are counted as two
  642. # different pages.
  643. # Warning, when set to 1, memory required to run AWStats is dramatically
  644. # increased if you have a lot of changing URLs (for example URLs with a random
  645. # id inside). Such web sites should not set this option to 1 or use seriously
  646. # the next parameter URLWithQueryWithOnlyFollowingParameters (or eventually
  647. # URLWithQueryWithoutFollowingParameters).
  648. # Change : Effective for new updates only
  649. # Possible values:
  650. # 0 - URLs are cleaned from the query string (ie: "/mypage.html")
  651. # 1 - Full URL with query string is used     (ie: "/mypage.html?p=x&q=y")
  652. # Default: 0
  653. #
  654. URLWithQuery=0
  655.  
  656.  
  657. # When URLWithQuery is on, you will get the full URL with all parameters in
  658. # URL reports. But among thoose parameters, sometimes you don't need a
  659. # particular parameter because it does not identify the page or because it's
  660. # a random ID changing for each access even if URL points to same page. In
  661. # such cases, it is higly recommanded to ask AWStats to keep only parameters
  662. # you need (if you know them) before counting, manipulating and storing URL.
  663. # Enter here list of wanted parameters. For example, with "param", one hit on
  664. # /mypage.cgi?param=abc&id=Yo4UomP9d  and  /mypage.cgi?param=abc&id=Mu8fdxl3r
  665. # will be reported as 2 hits on /mypage.cgi?param=abc
  666. # This parameter is not used when URLWithQuery is 0 and can't be used with
  667. # URLWithQueryWithoutFollowingParameters.
  668. # Change : Effective for new updates only
  669. # Example: "param"
  670. # Default: ""
  671. #
  672. URLWithQueryWithOnlyFollowingParameters=""
  673.  
  674.  
  675. # When URLWithQuery is on, you will get the full URL with all parameters in
  676. # URL reports. But among thoose parameters, sometimes you don't need a
  677. # particular parameter because it does not identify the page or because it's
  678. # a random ID changing for each access even if URL points to same page. In
  679. # such cases, it is higly recommanded to ask AWStats to remove such parameters
  680. # from the URL before counting, manipulating and storing URL. Enter here list
  681. # of all non wanted parameters. For example if you enter "id", one hit on
  682. # /mypage.cgi?param=abc&id=Yo4UomP9d  and  /mypage.cgi?param=abc&id=Mu8fdxl3r
  683. # will be reported as 2 hits on /mypage.cgi?param=abc
  684. # This parameter is not used when URLWithQuery is 0 and can't be used with
  685. # URLWithQueryWithOnlyFollowingParameters.
  686. # Change : Effective for new updates only
  687. # Example: "PHPSESSID jsessionid"
  688. # Default: ""
  689. #
  690. URLWithQueryWithoutFollowingParameters=""
  691.  
  692.  
  693. # Keep or remove the query string to the referrer URL in the statistics for
  694. # external referrer pages. This is used to differentiate between the URLs of
  695. # dynamic referrer pages. If set to 1, mypage.html?id=x and mypage.html?id=y
  696. # are counted as two different referrer pages.
  697. # Change : Effective for new updates only
  698. # Possible values:
  699. # 0 - Referrer URLs are cleaned from the query string (ie: "/mypage.html")
  700. # 1 - Full URL with query string is used      (ie: "/mypage.html?p=x&q=y")
  701. # Default: 0
  702. #
  703. URLReferrerWithQuery=0
  704.  
  705.  
  706. # AWStats can detect setup problems or show you important informations to have
  707. # a better use. Keep this to 1, except if AWStats says you can change it.
  708. # Change : Effective immediatly
  709. # Possible values: 0 or 1
  710. # Default: 1
  711. #
  712. WarningMessages=1
  713.  
  714.  
  715. # When an error occurs, AWStats outputs a message related to errors. If you
  716. # want (in most cases for security reasons) to have no error messages, you
  717. # can set this parameter to your personalized generic message.
  718. # Change : Effective immediatly
  719. # Example: "An error occurred. Contact your Administrator"
  720. # Default: ""
  721. #
  722. ErrorMessages=""
  723.  
  724.  
  725. # AWStat can be run with debug=x parameter to output various informations
  726. # to help in debugging or solving troubles. If you want to allow this (not
  727. # enabled by default for security reasons), set this parameter to 0.
  728. # Change : Effective immediatly
  729. # Possible values: 0 or 1
  730. # Default: 0
  731. #
  732. DebugMessages=0
  733.  
  734.  
  735. # To help you to detect if your log format is good, AWStats reports an error
  736. # if all the first NbOfLinesForCorruptedLog lines have a format that does not
  737. # match the LogFormat parameter.
  738. # However, some worm virus attack on your web server can result in a very high
  739. # number of corrupted lines in your log. So if you experience awstats stop
  740. # because of bad virus records at the beginning of your log file, you can
  741. # increase this parameter (very rare).
  742. # Change : Effective for new updates only
  743. # Default: 50
  744. #
  745. NbOfLinesForCorruptedLog=50
  746.  
  747.  
  748. # For some particular integration needs, you may want to have CGI links to
  749. # point to another script than awstats.pl.
  750. # Use the name of this script in WrapperScript parameter.
  751. # Change : Effective immediatly
  752. # Example: "awstatslauncher.pl"
  753. # Default: ""
  754. #
  755. WrapperScript=""
  756.  
  757.  
  758. # DecodeUA must be set to 1 if you use Roxen web server. This server converts
  759. # all spaces in user agent field into %20. This make the AWStats robots, OS
  760. # and browsers detection fail in some cases. Just change it to 1 if and only
  761. # if your web server is Roxen.
  762. # Change : Effective for new updates only
  763. # Possible values: 0 or 1
  764. # Default: 0
  765. #
  766. DecodeUA=0
  767.  
  768.  
  769. # MiscTrackerUrl can be used to make AWStats able to detect some miscellaneous
  770. # things, that can not be tracked on other way, like:
  771. # - Javascript disabled
  772. # - Java enabled
  773. # - Screen size
  774. # - Color depth
  775. # - Macromedia Director plugin
  776. # - Macromedia Shockwave plugin
  777. # - Realplayer G2 plugin
  778. # - QuickTime plugin
  779. # - Mediaplayer plugin
  780. # - Acrobat PDF plugin
  781. # To enable all these features, you must copy the awstats_misc_tracker.js file
  782. # into a /js/ directory stored in your web document root and add the following
  783. # HTML code at the end of your index page (but before </BODY>) :
  784. #
  785. # <script language=javascript src="/js/awstats_misc_tracker.js"></script>
  786. # <noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height=0 width=0 border=0 style="display: none"></noscript>
  787. #
  788. # If code is not added in index page, all those detection capabilities will be
  789. # disabled. You must also check that ShowScreenSizeStats and ShowMiscStats
  790. # parameters are set to 1 to make results appear in AWStats report page.
  791. # If you want to use another directory than /js/, you must also change the
  792. # awstatsmisctrackerurl variable into the awstats_misc_tracker.js file.
  793. # Change : Effective for new updates only.
  794. # Possible value: URL of javascript tracker file added in your HTML code.
  795. # Default: "/js/awstats_misc_tracker.js"
  796. #
  797. MiscTrackerUrl="/js/awstats_misc_tracker.js"
  798.  
  799.  
  800.  
  801. #-----------------------------------------------------------------------------
  802. # OPTIONAL ACCURACY SETUP SECTION (Not required but increase AWStats features)
  803. #-----------------------------------------------------------------------------
  804.  
  805. # The following values allow you to define accuracy of AWStats entities
  806. # (robots, browsers, os, referers, file types) detection.
  807. # It might be a good idea for large web sites or ISP that provides AWStats to
  808. # high number of customers, to set this parameter to 1 (or 0), instead of 2.
  809. # Possible values:
  810. #    0      = No detection,
  811. #    1      = Medium/Standard detection
  812. #    2      = Full detection
  813. # Change : Effective for new updates only
  814. # Note   : LevelForBrowsersDetection can also accept value "allphones". This
  815. #          enable detailed detection of phone/pda browsers.
  816. # Default: 2 (0 for LevelForWormsDetection)
  817. #
  818. LevelForBrowsersDetection=2         # 0 disables Browsers detection.
  819.                                     # 2 reduces AWStats speed by 2%
  820.                                     # allphones reduces AWStats speed by 5%
  821. LevelForOSDetection=2               # 0 disables OS detection.
  822.                                     # 2 reduces AWStats speed by 3%
  823. LevelForRefererAnalyze=2            # 0 disables Origin detection.
  824.                                     # 2 reduces AWStats speed by 14%
  825. LevelForRobotsDetection=2           # 0 disables Robots detection.
  826.                                     # 2 reduces AWStats speed by 2.5%
  827. LevelForSearchEnginesDetection=2    # 0 disables Search engines detection.
  828.                                     # 2 reduces AWStats speed by 9%
  829. LevelForKeywordsDetection=2         # 0 disables Keyphrases/Keywords detection.
  830.                                     # 2 reduces AWStats speed by 1%
  831. LevelForFileTypesDetection=2        # 0 disables File types detection.
  832.                                     # 2 reduces AWStats speed by 1%
  833. LevelForWormsDetection=0            # 0 disables Worms detection.
  834.                                     # 2 reduces AWStats speed by 15%
  835.  
  836.  
  837.  
  838. #-----------------------------------------------------------------------------
  839. # OPTIONAL APPEARANCE SETUP SECTION (Not required but increase AWStats features)
  840. #-----------------------------------------------------------------------------
  841.  
  842. # When you use AWStats as a CGI, you can have the reports shown in HTML frames.
  843. # Frames are only available for report viewed dynamically. When you build
  844. # pages from command line, this option is not used and no frames are built.
  845. # Possible values: 0 or 1
  846. # Default: 1
  847. #
  848. UseFramesWhenCGI=1
  849.  
  850.  
  851. # This parameter asks your browser to open detailed reports into a different
  852. # window than the main page.
  853. # Possible values:
  854. # 0 - Open all in same browser window
  855. # 1 - Open detailed reports in another window except if using frames
  856. # 2 - Open always in a different window even if reports are framed
  857. # Default: 1
  858. #
  859. DetailedReportsOnNewWindows=1
  860.  
  861.  
  862. # You can add, in the HTML report page, a cache lifetime (in seconds) that
  863. # will be returned to the browser in HTTP header answer by server.
  864. # This parameter is not used when reports are built with -staticlinks option.
  865. # Example: 3600
  866. # Default: 0
  867. #
  868. Expires=0
  869.  
  870.  
  871. # To avoid too large web pages, you can ask AWStats to limit number of rows of
  872. # all reported charts to this number when no other limits apply.
  873. # Default: 1000
  874. #
  875. MaxRowsInHTMLOutput=1000
  876.  
  877.  
  878. # Set your primary language (ISO-639-1 language codes).
  879. # Possible values:
  880. #  Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan=ca,
  881. #  Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Croatian=hr, Czech=cz,
  882. #  Danish=dk, Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi,
  883. #  French=fr, Galician=gl, German=de, Greek=gr, Hebrew=he, Hungarian=hu,
  884. #  Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=ko,
  885. #  Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl,
  886. #  Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru,
  887. #  Serbian=sr, Slovak=sk, Slovenian=si, Spanish=es, Swedish=se, Turkish=tr,
  888. #  Ukrainian=ua, Welsh=cy.
  889. #  First available language accepted by browser=auto
  890. # Default: "auto"
  891. #
  892. Lang="auto"
  893.  
  894.  
  895. # Set the location of language files.
  896. # Example: "/usr/share/awstats/lang"
  897. # Default: "./lang" (means lang directory is in same location than awstats.pl)
  898. #
  899. DirLang="./lang"
  900.  
  901.  
  902. # Show menu header with reports' links
  903. # Possible values: 0 or 1
  904. # Default: 1
  905. #
  906. ShowMenu=1                                     
  907.  
  908.  
  909. # You choose here which reports you want to see in the main page and what you
  910. # want to see in those reports.
  911. # Possible values:
  912. #  0  - Report is not shown at all
  913. #  1  - Report is shown in main page with an entry in menu and default columns
  914. # XYZ - Report shows column informations defined by code X,Y,Z...
  915. #       X,Y,Z... are code letters among the following:
  916. #        U = Unique visitors
  917. #        V = Visits
  918. #        P = Number of pages
  919. #        H = Number of hits (or mails)
  920. #        B = Bandwith (or total mail size for mail logs)
  921. #        L = Last access date
  922. #        E = Entry pages
  923. #        X = Exit pages
  924. #        C = Web compression (mod_gzip,mod_deflate)
  925. #        M = Average mail size (mail logs)
  926. #
  927.  
  928. # Show monthly summary
  929. # Context: Web, Streaming, Mail, Ftp
  930. # Default: UVPHB, Possible column codes: UVPHB
  931. ShowSummary=UVPHB
  932.  
  933. # Show monthly chart
  934. # Context: Web, Streaming, Mail, Ftp
  935. # Default: UVPHB, Possible column codes: UVPHB
  936. ShowMonthStats=UVPHB
  937.  
  938. # Show days of month chart
  939. # Context: Web, Streaming, Mail, Ftp
  940. # Default: VPHB, Possible column codes: VPHB
  941. ShowDaysOfMonthStats=VPHB
  942.  
  943. # Show days of week chart
  944. # Context: Web, Streaming, Mail, Ftp
  945. # Default: PHB, Possible column codes: PHB
  946. ShowDaysOfWeekStats=PHB
  947.  
  948. # Show hourly chart
  949. # Context: Web, Streaming, Mail, Ftp
  950. # Default: PHB, Possible column codes: PHB
  951. ShowHoursStats=PHB
  952.  
  953. # Show domains/country chart
  954. # Context: Web, Streaming, Mail, Ftp
  955. # Default: PHB, Possible column codes: PHB
  956. ShowDomainsStats=PHB
  957.  
  958. # Show hosts chart
  959. # Context: Web, Streaming, Mail, Ftp
  960. # Default: PHBL, Possible column codes: PHBL
  961. ShowHostsStats=PHBL
  962.  
  963. # Show authenticated users chart
  964. # Context: Web, Streaming, Ftp
  965. # Default: 0, Possible column codes: PHBL
  966. ShowAuthenticatedUsers=0
  967.  
  968. # Show robots chart
  969. # Context: Web, Streaming
  970. # Default: HBL, Possible column codes: HBL
  971. ShowRobotsStats=HBL
  972.  
  973. # Show worms chart
  974. # Context: Web, Streaming
  975. # Default: 0 (If set to other than 0, see also LevelForWormsDetection), Possible column codes: HBL
  976. ShowWormsStats=0
  977.  
  978. # Show email senders chart (For use when analyzing mail log files)
  979. # Context: Mail
  980. # Default: 0, Possible column codes: HBML
  981. ShowEMailSenders=0
  982.  
  983. # Show email receivers chart (For use when analyzing mail log files)
  984. # Context: Mail
  985. # Default: 0, Possible column codes: HBML
  986. ShowEMailReceivers=0
  987.  
  988. # Show session chart
  989. # Context: Web, Streaming, Ftp
  990. # Default: 1, Possible column codes: None
  991. ShowSessionsStats=1
  992.  
  993. # Show pages-url chart.
  994. # Context: Web, Streaming, Ftp
  995. # Default: PBEX, Possible column codes: PBEX
  996. ShowPagesStats=PBEX
  997.  
  998. # Show file types chart.
  999. # Context: Web, Streaming, Ftp
  1000. # Default: HB, Possible column codes: HBC
  1001. ShowFileTypesStats=HB
  1002.  
  1003. # Show file size chart (Not yet available)
  1004. # Context: Web, Streaming, Mail, Ftp
  1005. # Default: 1, Possible column codes: None
  1006. ShowFileSizesStats=0           
  1007.  
  1008. # Show operating systems chart
  1009. # Context: Web, Streaming, Ftp
  1010. # Default: 1, Possible column codes: None
  1011. ShowOSStats=1
  1012.  
  1013. # Show browsers chart
  1014. # Context: Web, Streaming
  1015. # Default: 1, Possible column codes: None
  1016. ShowBrowsersStats=1
  1017.  
  1018. # Show screen size chart
  1019. # Context: Web, Streaming
  1020. # Default: 0 (If set to 1, see also MiscTrackerUrl), Possible column codes: None
  1021. ShowScreenSizeStats=0
  1022.  
  1023. # Show origin chart
  1024. # Context: Web, Streaming
  1025. # Default: PH, Possible column codes: PH
  1026. ShowOriginStats=PH
  1027.  
  1028. # Show keyphrases chart
  1029. # Context: Web, Streaming
  1030. # Default: 1, Possible column codes: None
  1031. ShowKeyphrasesStats=1
  1032.  
  1033. # Show keywords chart
  1034. # Context: Web, Streaming
  1035. # Default: 1, Possible column codes: None
  1036. ShowKeywordsStats=1
  1037.  
  1038. # Show misc chart
  1039. # Context: Web, Streaming
  1040. # Default: a (See also MiscTrackerUrl parameter), Possible column codes: anjdfrqwp
  1041. ShowMiscStats=a
  1042.  
  1043. # Show http errors chart
  1044. # Context: Web, Streaming
  1045. # Default: 1, Possible column codes: None
  1046. ShowHTTPErrorsStats=1
  1047.  
  1048. # Show smtp errors chart (For use when analyzing mail log files)
  1049. # Context: Mail
  1050. # Default: 0, Possible column codes: None
  1051. ShowSMTPErrorsStats=0
  1052.  
  1053. # Show the cluster report (Your LogFormat must contains the %cluster tag)
  1054. # Context: Web, Streaming, Ftp
  1055. # Default: 0, Possible column codes: PHB
  1056. ShowClusterStats=0
  1057.  
  1058.  
  1059. # Some graphical reports are followed by the data array of values.
  1060. # If you don't want this array (to reduce the report size for example), you
  1061. # can set thoose options to 0.
  1062. # Possible values: 0 or 1
  1063. # Default: 1
  1064. #
  1065. # Data array values for the ShowMonthStats report
  1066. AddDataArrayMonthStats=1
  1067. # Data array values for the ShowDaysOfMonthStats report
  1068. AddDataArrayShowDaysOfMonthStats=1
  1069. # Data array values for the ShowDaysOfWeekStats report
  1070. AddDataArrayShowDaysOfWeekStats=1
  1071. # Data array values for the ShowHoursStats report
  1072. AddDataArrayShowHoursStats=1
  1073.  
  1074.  
  1075. # In the Origin chart, you have stats on where your hits came from. You can
  1076. # include hits on pages that come from pages of same sites in this chart.
  1077. # Possible values: 0 or 1
  1078. # Default: 0
  1079. #
  1080. IncludeInternalLinksInOriginSection=0
  1081.  
  1082.  
  1083. # The following parameters can be used to choose the maximum number of lines
  1084. # shown for the particular following reports.
  1085. #
  1086. # Stats by countries/domains
  1087. MaxNbOfDomain = 10
  1088. MinHitDomain  = 1
  1089. # Stats by hosts
  1090. MaxNbOfHostsShown = 10
  1091. MinHitHost    = 1
  1092. # Stats by authenticated users
  1093. MaxNbOfLoginShown = 10
  1094. MinHitLogin   = 1
  1095. # Stats by robots
  1096. MaxNbOfRobotShown = 10
  1097. MinHitRobot   = 1
  1098. # Stats by pages
  1099. MaxNbOfPageShown = 10
  1100. MinHitFile    = 1
  1101. # Stats by OS
  1102. MaxNbOfOsShown = 10
  1103. MinHitOs      = 1
  1104. # Stats by browsers
  1105. MaxNbOfBrowsersShown = 10
  1106. MinHitBrowser = 1
  1107. # Stats by screen size
  1108. MaxNbOfScreenSizesShown = 5
  1109. MinHitScreenSize = 1
  1110. # Stats by window size (following 2 parameters are not yet used)
  1111. MaxNbOfWindowSizesShown = 5
  1112. MinHitWindowSize = 1
  1113. # Stats by referers
  1114. MaxNbOfRefererShown = 10
  1115. MinHitRefer   = 1
  1116. # Stats for keyphrases
  1117. MaxNbOfKeyphrasesShown = 10
  1118. MinHitKeyphrase = 1
  1119. # Stats for keywords
  1120. MaxNbOfKeywordsShown = 10
  1121. MinHitKeyword = 1
  1122. # Stats for sender or receiver emails
  1123. MaxNbOfEMailsShown = 20
  1124. MinHitEMail   = 1
  1125.  
  1126.  
  1127. # Choose if you want the week report to start on sunday or monday
  1128. # Possible values:
  1129. # 0 - Week starts on sunday
  1130. # 1 - Week starts on monday
  1131. # Default: 1
  1132. #
  1133. FirstDayOfWeek=1
  1134.  
  1135.  
  1136. # List of visible flags that link to other language translations.
  1137. # See Lang parameter for list of allowed flag/language codes.
  1138. # If you don't want any flag link, set ShowFlagLinks to "".
  1139. # This parameter is used only if ShowMenu parameter is set to 1.
  1140. # Possible values: "" or "language_codes_separated_by_space"
  1141. # Example: "en es fr nl de"
  1142. # Default: ""
  1143. #
  1144. ShowFlagLinks=""
  1145.  
  1146.  
  1147. # Each URL, shown in stats report views, are links you can click.
  1148. # Possible values: 0 or 1
  1149. # Default: 1
  1150. #
  1151. ShowLinksOnUrl=1
  1152.  
  1153.  
  1154. # When AWStats builds HTML links in its report pages, it starts those links
  1155. # with "http://". However some links might be HTTPS links, so you can enter
  1156. # here the root of all your HTTPS links. If all your site is a SSL web site,
  1157. # just enter "/".
  1158. # This parameter is not used if ShowLinksOnUrl is 0.
  1159. # Example: "/shopping"
  1160. # Example: "/"
  1161. # Default: ""
  1162. #
  1163. UseHTTPSLinkForUrl=""
  1164.  
  1165.  
  1166. # Maximum length of URL part shown on stats page (number of characters).
  1167. # This affects only URL visible text, links still work.
  1168. # Default: 64
  1169. #
  1170. MaxLengthOfShownURL=64
  1171.  
  1172.  
  1173. # You can enter HTML code that will be added at the top of AWStats reports.
  1174. # Default: ""
  1175. #
  1176. HTMLHeadSection=""
  1177.  
  1178.  
  1179. # You can enter HTML code that will be added at the end of AWStats reports.
  1180. # Great to add advert ban.
  1181. # Default: ""
  1182. #
  1183. HTMLEndSection=""
  1184.  
  1185.  
  1186. # You can set Logo and LogoLink to use your own logo.
  1187. # Logo must be the name of image file (must be in $DirIcons/other directory).
  1188. # LogoLink is the expected URL when clicking on Logo.
  1189. # Default: "awstats_logo6.png"
  1190. #
  1191. Logo="awstats_logo6.png"
  1192. LogoLink="http://awstats.sourceforge.net"
  1193.  
  1194.  
  1195. # Value of maximum bar width/height for horizontal/vertical HTML graphics bars.
  1196. # Default: 260/90
  1197. #
  1198. BarWidth   = 260
  1199. BarHeight  = 90
  1200.  
  1201.  
  1202. # You can ask AWStats to use a particular CSS (Cascading Style Sheet) to
  1203. # change its look. To create a style sheet, you can use samples provided with
  1204. # AWStats in wwwroot/css directory.
  1205. # Example: "/awstatscss/awstats_bw.css"
  1206. # Example: "/css/awstats_bw.css"
  1207. # Default: ""
  1208. #
  1209. StyleSheet=""
  1210.  
  1211.  
  1212. # Those color parameters can be used (if StyleSheet parameter is not used)
  1213. # to change AWStats look.
  1214. # Example: color_name="RRGGBB"  # RRGGBB is Red Green Blue components in Hex
  1215. #
  1216. color_Background="FFFFFF"               # Background color for main page (Default = "FFFFFF")
  1217. color_TableBGTitle="CCCCDD"             # Background color for table title (Default = "CCCCDD")
  1218. color_TableTitle="000000"               # Table title font color (Default = "000000")
  1219. color_TableBG="CCCCDD"                  # Background color for table (Default = "CCCCDD")
  1220. color_TableRowTitle="FFFFFF"    # Table row title font color (Default = "FFFFFF")
  1221. color_TableBGRowTitle="ECECEC"  # Background color for row title (Default = "ECECEC")
  1222. color_TableBorder="ECECEC"              # Table border color (Default = "ECECEC")
  1223. color_text="000000"                             # Color of text (Default = "000000")
  1224. color_textpercent="606060"              # Color of text for percent values (Default = "606060")
  1225. color_titletext="000000"                # Color of text title within colored Title Rows (Default = "000000")
  1226. color_weekend="EAEAEA"                  # Color for week-end days (Default = "EAEAEA")
  1227. color_link="0011BB"                             # Color of HTML links (Default = "0011BB")
  1228. color_hover="605040"                    # Color of HTML on-mouseover links (Default = "605040")
  1229. color_u="FFAA66"                                # Background color for number of unique visitors (Default = "FFAA66")
  1230. color_v="F4F090"                                # Background color for number of visites (Default = "F4F090")
  1231. color_p="4477DD"                                # Background color for number of pages (Default = "4477DD")
  1232. color_h="66DDEE"                                # Background color for number of hits (Default = "66DDEE")
  1233. color_k="2EA495"                                # Background color for number of bytes (Default = "2EA495")
  1234. color_s="8888DD"                                # Background color for number of search (Default = "8888DD")
  1235. color_e="CEC2E8"                                # Background color for number of entry pages (Default = "CEC2E8")
  1236. color_x="C1B2E2"                                # Background color for number of exit pages (Default = "C1B2E2")
  1237.  
  1238.  
  1239.  
  1240. #-----------------------------------------------------------------------------
  1241. # PLUGINS
  1242. #-----------------------------------------------------------------------------
  1243.  
  1244. # Add here all plugin files you want to load.
  1245. # Plugin files must be .pm files stored in 'plugins' directory.
  1246. # Uncomment LoadPlugin lines to enable a plugin after checking that perl
  1247. # modules required by the plugin are installed.
  1248.  
  1249. # Plugin: Tooltips
  1250. # Perl modules required: None
  1251. # Add some tooltips help on HTML report pages.
  1252. # Note that enabling this kind of help will increased HTML report pages size,
  1253. # so server load and bandwidth.
  1254. #
  1255. #LoadPlugin="tooltips"
  1256.  
  1257. # Plugin: DecodeUTFKeys
  1258. # Perl modules required: Encode and URI::Escape
  1259. # Allow AWStats to show correctly (in language charset) keywords/keyphrases
  1260. # strings even if they were UTF8 coded by the referer search engine.
  1261. #
  1262. #LoadPlugin="decodeutfkeys"
  1263.  
  1264. # Plugin: IPv6
  1265. # Perl modules required: Net::IP and Net::DNS
  1266. # This plugin gives AWStats capability to make reverse DNS lookup on IPv6
  1267. # addresses.
  1268. # Note: If you are interested in having country report, you should use the
  1269. # geoipfree or geoip plugin instead of enabled reverse DNS lookup.
  1270. #
  1271. #LoadPlugin="ipv6"
  1272.  
  1273. # Plugin: HashFiles
  1274. # Perl modules required: Storable
  1275. # AWStats DNS cache files are read/saved as native hash files. This increases
  1276. # DNS cache files loading speed, above all for very large web sites.
  1277. #
  1278. #LoadPlugin="hashfiles"
  1279.  
  1280. # Plugin: GeoIP
  1281. # Perl modules required: Geo::IP or Geo::IP::PurePerl (from Maxmind)
  1282. # Country chart is built from an Internet IP-Country database.
  1283. # This plugin is useless for intranet only log files.
  1284. # Note: You must choose between using this plugin (need Perl Geo::IP module
  1285. # from Maxmind, database more up to date) or the GeoIPfree plugin (need
  1286. # Perl Geo::IPfree module, database less up to date).
  1287. # This plugin reduces AWStats speed of 8% !
  1288. #
  1289. #LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat"
  1290.  
  1291. # Plugin: GeoIPfree
  1292. # Perl modules required: Geo::IPfree version 0.2+ (from Graciliano M.P.)
  1293. # Country chart is built from an Internet IP-Country database.
  1294. # This plugin is useless for intranet only log files.
  1295. # Note: You must choose between using this plugin (need Perl Geo::IPfree
  1296. # module, database less up to date) or the GeoIP plugin (need Perl Geo::IP
  1297. # module from Maxmind, database more up to date).
  1298. # Note: Activestate provide a corrupted version of Geo::IPfree 0.2 Perl
  1299. # module, so install it from elsewhere (from www.cpan.org for example).
  1300. # This plugin reduces AWStats speed of 10% !
  1301. #
  1302. LoadPlugin="geoipfree"
  1303.  
  1304. # Plugin: GeoIP_Region_Maxmind
  1305. # Perl modules required: Geo::IP (from Maxmind)
  1306. # This plugin add a chart of hits by regions. Only regions for US and
  1307. # Canada can be detected.
  1308. # Note: This plugin need Maxmind GeoIP Perl module AND the region database.
  1309. # Note: I get some problem with Maxmind Geo::IP Perl module with ActiveState
  1310. # on Windows but it works great on Linux with default Perl.
  1311. # You need to purchase a license from Maxmind to get/use the Region database.
  1312. # This plugin reduces AWStats speed.
  1313. #
  1314. #LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /pathto/GeoIPRegion.dat"
  1315.  
  1316. # Plugin: GeoIP_City_Maxmind
  1317. # Perl modules required: Geo::IP (from Maxmind)
  1318. # This plugin add a chart of hits by cities (with country and regions
  1319. # informations for major countries).
  1320. # Note: This plugin need Maxmind GeoIP Perl module AND the city database.
  1321. # Note: I get some problem with Maxmind Geo::IP Perl module with ActiveState
  1322. # on Windows but it works great on Linux with default Perl.
  1323. # You need to purchase a license from Maxmind to get/use the City database.
  1324. # This plugin reduces AWStats speed.
  1325. #
  1326. #LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /pathto/GeoIPCity.dat"
  1327.  
  1328. # Plugin: GeoIP_ISP_Maxmind
  1329. # Perl modules required: Geo::IP (from Maxmind)
  1330. # This plugin add a chart of hits by ISP.
  1331. # Note: This plugin need Maxmind GeoIP Perl module AND the ISP database.
  1332. # Note: I get some problem with Maxmind Geo::IP Perl module with ActiveState
  1333. # on Windows but it works great on Linux with default Perl.
  1334. # You need to purchase a license from Maxmind to get/use the ISP database.
  1335. # This plugin reduces AWStats speed.
  1336. #
  1337. #LoadPlugin="geoip_isp_maxmind GEOIP_STANDARD /pathto/GeoIPISP.dat"
  1338.  
  1339. # Plugin: GeoIP_Org_Maxmind
  1340. # Perl modules required: Geo::IP (from Maxmind)
  1341. # This plugin add a chart of hits by Organization name
  1342. # Note: This plugin need Maxmind GeoIP Perl module AND the Org database.
  1343. # Note: I get some problem with Maxmind Geo::IP Perl module with ActiveState
  1344. # on Windows but it works great on Linux with default Perl.
  1345. # You need to purchase a license from Maxmind to get/use the Org database.
  1346. # This plugin reduces AWStats speed.
  1347. #
  1348. #LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /pathto/GeoIPOrg.dat"
  1349.  
  1350. # Plugin: UserInfo
  1351. # Perl modules required: None
  1352. # Add a text (Firtname, Lastname, Office Department, ...) in authenticated user
  1353. # reports for each login value.
  1354. # A text file called userinfo.myconfig.txt, with two fields (first is login,
  1355. # second is text to show, separated by a tab char) must be created in DirData
  1356. # directory.
  1357. #
  1358. #LoadPlugin="userinfo"
  1359.  
  1360. # Plugin: HostInfo
  1361. # Perl modules required: Net::XWhois
  1362. # Add a column into host chart with a link to open a popup window that shows
  1363. # info on host (like whois records).
  1364. #
  1365. #LoadPlugin="hostinfo"
  1366.  
  1367. # Plugin: ClusterInfo
  1368. # Perl modules required: None
  1369. # Add a text (for example a full hostname) in cluster reports for each cluster
  1370. # number.
  1371. # A text file called clusterinfo.myconfig.txt, with two fields (first is
  1372. # cluster number, second is text to show) separated by a tab char. must be
  1373. # created into DirData directory.
  1374. # Note this plugin is useless if ShowClusterStats is set to 0 or if you don't
  1375. # use a personalized log format that contains %cluster tag.
  1376. #
  1377. #LoadPlugin="clusterinfo"
  1378.  
  1379. # Plugin: UrlAliases
  1380. # Perl modules required: None
  1381. # Add a text (Page title, description...) in URL reports before URL value.
  1382. # A text file called urlalias.myconfig.txt, with two fields (first is URL,
  1383. # second is text to show, separated by a tab char) must be created into
  1384. # DirData directory.
  1385. #
  1386. #LoadPlugin="urlalias"
  1387.  
  1388. # Plugin: TimeHiRes
  1389. # Perl modules required: Time::HiRes (if Perl < 5.8)
  1390. # Time reported by -showsteps option is in millisecond. For debug purpose.
  1391. #
  1392. #LoadPlugin="timehires"        
  1393.  
  1394. # Plugin: TimeZone
  1395. # Perl modules required: Time::Local
  1396. # Allow AWStats to correct a bad timezone for user of some IIS that use
  1397. # GMT date in its log instead of local server time.
  1398. # This module is useless for Apache and most IIS version.
  1399. # This plugin reduces AWStats speed of 40% !!!!!!!
  1400. #
  1401. #LoadPlugin="timezone +2"
  1402.  
  1403. # Plugin: Rawlog
  1404. # Perl modules required: None
  1405. # This plugin adds a form in AWStats main page to allow users to see raw
  1406. # content of current log files. A filter is also available.
  1407. #
  1408. #LoadPlugin="rawlog"
  1409.  
  1410. # Plugin: GraphApplet
  1411. # Perl modules required: None
  1412. # Supported charts are built by a 3D graphic applet.
  1413. #
  1414. #LoadPlugin="graphapplet /awstatsclasses"                               # EXPERIMENTAL FEATURE
  1415.  
  1416.  
  1417.  
  1418. #-----------------------------------------------------------------------------
  1419. # EXTRA SECTIONS
  1420. #-----------------------------------------------------------------------------
  1421.  
  1422. # You can define your own charts, you choose here what are rows and columns
  1423. # keys. This feature is particularly useful for marketing purpose, tracking
  1424. # products orders for example.
  1425. # For this, edit all parameters of Extra section. Each set of parameter is a
  1426. # different chart. For several charts, duplicate section changing the number.
  1427. # Note: Each Extra section reduces AWStats speed by 8%.
  1428. #
  1429. # WARNING: A wrong setup of Extra section might result in too large arrays
  1430. # that will consume all your memory, making AWStats unusable after several
  1431. # updates, so be sure to setup it correctly.
  1432. # In most cases, you don't need this feature.
  1433. #
  1434. # ExtraSectionNameX is title of your personalized chart.
  1435. # ExtraSectionCodeFilterX is list of codes the record code field must match.
  1436. #   Put an empty string for no test on code.
  1437. # ExtraSectionConditionX are conditions you can use to count or not the hit,
  1438. #   Use one of the field condition
  1439. #   (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOST,extraX)
  1440. #   and a regex to match, after a coma. Use "||" for "OR".
  1441. # ExtraSectionFirstColumnTitleX is the first column title of the chart.
  1442. # ExtraSectionFirstColumnValuesX is a string to tell AWStats which field to
  1443. #   extract value from
  1444. #   (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOST,VHOST,extraX)
  1445. #   and how to extract the value (using regex syntax). Each different value
  1446. #   found will appear in first column of report on a different row. Be sure
  1447. #   that list of different possible values will not grow indefinitely.
  1448. # ExtraSectionFirstColumnFormatX is the string used to write value.
  1449. # ExtraSectionStatTypesX are things you want to count. You can use standard
  1450. #   code letters (P for pages,H for hits,B for bandwidth,L for last access).
  1451. # ExtraSectionAddAverageRowX add a row at bottom of chart with average values.
  1452. # ExtraSectionAddSumRowX add a row at bottom of chart with sum values.
  1453. # MaxNbOfExtraX is maximum number of rows shown in chart.
  1454. # MinHitExtraX is minimum number of hits required to be shown in chart.
  1455. #
  1456.  
  1457. # Example to report the 20 products the most ordered by "order.cgi" script
  1458. #ExtraSectionName1="Product orders"
  1459. #ExtraSectionCodeFilter1="200 304"
  1460. #ExtraSectionCondition1="URL,\/cgi\-bin\/order\.cgi||URL,\/cgi\-bin\/order2\.cgi"
  1461. #ExtraSectionFirstColumnTitle1="Product ID"
  1462. #ExtraSectionFirstColumnValues1="QUERY_STRING,productid=([^&]+)"
  1463. #ExtraSectionFirstColumnFormat1="%s"
  1464. #ExtraSectionStatTypes1=PL
  1465. #ExtraSectionAddAverageRow1=0
  1466. #ExtraSectionAddSumRow1=1
  1467. #MaxNbOfExtra1=20
  1468. #MinHitExtra1=1
  1469.  
  1470.  
  1471. # There is also a global parameter ExtraTrackedRowsLimit that limits the
  1472. # number of possible rows an ExtraSection can report. This parameter is
  1473. # here to protect too much memory use when you make a bad setup in your
  1474. # ExtraSection. It applies to all ExtraSection independently meaning that
  1475. # none ExtraSection can report more rows than value defined by ExtraTrackedRowsLimit.
  1476. # If you know an ExtraSection will report more rows than its value, you should
  1477. # increase this parameter or AWStats will stop with an error.
  1478. # Example: 2000
  1479. # Default: 500
  1480. #
  1481. ExtraTrackedRowsLimit=500
  1482.  
  1483.  
  1484. #-----------------------------------------------------------------------------
  1485. # INCLUDES
  1486. #-----------------------------------------------------------------------------
  1487.  
  1488. # You can include other config files using the directive with the name of the
  1489. # config file.
  1490. # This is particularly useful for users who have a lot of virtual servers, so
  1491. # a lot of config files and want to maintain common values in only one file.
  1492. # Note that when a variable is defined both in a config file and in an
  1493. # included file, AWStats will use the last value read for parameters that
  1494. # contains one value and AWStats will concat all values from both files for
  1495. # parameters that are lists of values.
  1496. #
  1497.  
  1498. #Include ""

Raw Paste


Login or Register to edit or fork this paste. It's free.