~ubuntu-branches/ubuntu/karmic/awstats/karmic-security

« back to all changes in this revision

Viewing changes to wwwroot/cgi-bin/awstats.model.conf

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard, Jonas Smedegaard, Charles Fry
  • Date: 2006-01-15 22:35:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060115223507-jtn0gtvack1n8qj2
Tags: 6.5-1
[ Jonas Smedegaard ]
* New upstream release.
  + Recognizes GNUTLS from lynx User-Agent header. Closes: #306130
    (thanks to Dmitry Baryshkov <mitya@school.ioffe.ru>).
  + Geoip shows countries for resolved hostnames. Closes: #317310
    (thanks to Administrator <azhrarn@underhanded.org>).
* Simplify watch file to better work with parser used at qa.d.o.
* Improve cdbs rules:
  + Use quilt (rather than cdbs-internal patch system).
  + Add and enable new local snippets copyright-check and auto-update.
  + Update local snippet buildinfo (fixing its namespace).
* Auto-update debian/control:
  + Tightened build-dependency on cdbs.
  + Added build-dependencies on patchutils and quilt.
* Package is now team-maintained:
  + New maintainer: Debian AWStats Team
    <pkg-awstats-devel@lists.alioth.debian.org>.
  + Add myself as uploader.

[ Charles Fry ]
* Use qa.debian.org SF redirector in watch file.
* Use Homepage instead of Website in debian/control, per DDR 6.2.4.
* Removed patches integrated upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# AWSTATS CONFIGURE FILE 6.4
 
1
# AWSTATS CONFIGURE FILE 6.5
2
2
#-----------------------------------------------------------------------------
3
3
# Copy this file into awstats.www.mydomain.conf and edit this new config file
4
4
# to setup AWStats (See documentation in docs/ directory).
10
10
# Note that environment variable AWSTATS_CURRENT_CONFIG is always defined with
11
11
# the config value in an AWStats running session and can be used like others.
12
12
#-----------------------------------------------------------------------------
13
 
# $Revision: 1.310 $ - $Author: eldy $ - $Date: 2005/02/24 21:08:40 $
 
13
# $Revision: 1.324 $ - $Author: eldy $ - $Date: 2005/10/30 15:56:38 $
14
14
 
15
15
 
16
16
 
68
68
# have the required log format).
69
69
# Possible values: 1,2,3,4 or "your_own_personalized_log_format"
70
70
# 1 - Apache or Lotus Notes/Domino native combined log format (NCSA combined/XLF/ELF log format)
71
 
# 2 - Old IIS log format (IIS W3C log format). See FAQ for IIS 6.x.
 
71
# 2 - IIS or ISA format (IIS W3C log format). See FAQ-COM115 For ISA.
72
72
# 3 - Webstar native log format.
73
73
# 4 - Apache or Squid native common log format (NCSA common/CLF log format)
74
74
#     With LogFormat=4, some features (browsers, os, keywords...) can't work.
75
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
77
 
#     for ftp, mail or exotic web log format examples):
78
 
#   %host             Host client name or IP address
 
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)
79
80
#   %lognamequot      Authenticated login/user with format: "john"
80
81
#   %logname          Authenticated login/user with format: john
81
82
#   %time1            Date and time with format: [dd/mon/yyyy:hh:mm:ss +0000] or [dd/mon/yyyy:hh:mm:ss]
115
116
# LogFormat = 1
116
117
# LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"
117
118
#
 
119
# Example for IIS:
 
120
# LogFormat = 2
 
121
#
118
122
LogFormat=1
119
123
 
120
124
 
124
128
# Example: " "
125
129
# Example: "\t"
126
130
# Example: "\|"
 
131
# Example: ","
127
132
# Default: " "
128
133
#
129
134
LogSeparator=" "
476
481
# Use SkipFiles to ignore access to URLs that match one of following entries.
477
482
# You can enter a list of not important URLs (like framed menus, hidden pages,
478
483
# etc...) to exclude them from statistics. You must enter here exact relative
479
 
# URL as found in log file, or a matching REGEX value.
480
 
# For example, to ignore /badpage.html, just add "/badpage.html". To ignore
481
 
# all pages in a particular directory, add "REGEX[^\/directorytoexclude]".
 
484
# URL as found in log file, or a matching REGEX value. Check apply on URL with
 
485
# all its query paramaters.
 
486
# For example, to ignore /badpage.php, just add "/badpage.php". To ignore all
 
487
# pages in a particular directory, add "REGEX[^\/directorytoexclude]".
482
488
# The opposite parameter of "SkipFiles" is "OnlyFiles".
483
489
# Note: Use space between each value. This parameter is or not case sensitive
484
490
# depending on URLNotCaseSensitive parameter.
485
491
# Note: You can use regular expression values writing value with REGEX[value].
486
492
# Change : Effective for new updates only
487
 
# Example: "/badpage.html REGEX[^\/excludedirectory]"
 
493
# Example: "/badpage.php /page.php?param=x REGEX[^\/excludedirectory]"
488
494
# Default: ""
489
495
#
490
496
SkipFiles=""
491
497
 
492
498
 
 
499
# Use SkipReferrersBlackList if you want to exclude records coming from a SPAM
 
500
# referrer. Parameter must receive a local file name containing rules applied
 
501
# on referrer field. If parameter is empty, no filter is applied.
 
502
# An example of such a file is available in lib/blacklist.txt
 
503
# You can download updated version at http://www.jayallen.org/comment_spam/
 
504
# Change : Effective for new updates only
 
505
# Example: "/mylibpath/blacklist.txt"
 
506
# Default: ""
 
507
#
 
508
# WARNING!! Using this feature make AWStats running very slower (5 times slower
 
509
# with black list file provided with AWStats !
 
510
#
 
511
SkipReferrersBlackList=""
 
512
 
 
513
 
493
514
# Include in stats, only accesses from hosts that match one of following
494
515
# entries. For example, if you want AWStats to filter access to keep only
495
516
# stats for visits from particular hosts, you can add those hosts names in
785
806
# It might be a good idea for large web sites or ISP that provides AWStats to
786
807
# high number of customers, to set this parameter to 1 (or 0), instead of 2.
787
808
# Possible values:
788
 
#  0 = No detection,
789
 
#  1 = Medium/Standard detection
790
 
#  2 = Full detection
 
809
#    0      = No detection,
 
810
#    1      = Medium/Standard detection
 
811
#    2      = Full detection
791
812
# Change : Effective for new updates only
 
813
# Note   : LevelForBrowsersDetection can also accept value "allphones". This
 
814
#          enable detailed detection of phone/pda browsers.
792
815
# Default: 2 (0 for LevelForWormsDetection)
793
816
#
794
817
LevelForBrowsersDetection=2         # 0 disables Browsers detection.
795
818
                                    # 2 reduces AWStats speed by 2%
 
819
                                    # allphones reduces AWStats speed by 5%
796
820
LevelForOSDetection=2               # 0 disables OS detection.
797
821
                                    # 2 reduces AWStats speed by 3%
798
822
LevelForRefererAnalyze=2            # 0 disables Origin detection.
853
877
# Set your primary language (ISO-639-1 language codes).
854
878
# Possible value:
855
879
#  Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan=ca,
856
 
#  Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Czech=cz, Danish=dk,
857
 
#  Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi,
 
880
#  Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Croatian=hr, Czech=cz,
 
881
#  Danish=dk, Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi,
858
882
#  French=fr, Galician=gl, German=de, Greek=gr, Hebrew=he, Hungarian=hu,
859
 
#  Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=kr,
 
883
#  Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=ko,
860
884
#  Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl,
861
885
#  Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru,
862
886
#  Serbian=sr, Slovak=sk, Slovenian=si, Spanish=es, Swedish=se, Turkish=tr,
1261
1285
# Perl Geo::IPfree module, database less up to date).
1262
1286
# This plugin reduces AWStats speed of 8% !
1263
1287
#
1264
 
#LoadPlugin="geoip GEOIP_STANDARD"
 
1288
#LoadPlugin="geoip GEOIP_STANDARD /pathto/GeoIP.dat"
1265
1289
 
1266
1290
# Plugin: GeoIPfree
1267
1291
# Perl modules required: Geo::IPfree version 0.2+ (from Graciliano M.P.)
1290
1314
 
1291
1315
# Plugin: GeoIP_City_Maxmind
1292
1316
# Perl modules required: Geo::IP (from Maxmind)
1293
 
# This plugin add a chart of hits by cities.
 
1317
# This plugin add a chart of hits by cities (with country and regions
 
1318
# informations for major countries).
1294
1319
# Note: This plugin need Maxmind GeoIP Perl module AND the city database.
1295
1320
# Note: I get some problem with Maxmind Geo::IP Perl module with ActiveState
1296
1321
# on Windows but it works great on Linux with default Perl.
1409
1434
# ExtraSectionCodeFilterX is list of codes the record code field must match.
1410
1435
#   Put an empty string for no test on code.
1411
1436
# ExtraSectionConditionX are conditions you can use to count or not the hit,
1412
 
#   Use one of the field condition (URL,QUERY_STRING,REFERER,UA,HOST,extraX)
1413
 
#   and a regex to match, after a coma. Use "||" for "OR".
 
1437
#   Use one of the field condition (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,
 
1438
#   HOST,extraX) and a regex to match, after a coma. Use "||" for "OR".
1414
1439
# ExtraSectionFirstColumnTitleX is the first column title of the chart.
1415
1440
# ExtraSectionFirstColumnValuesX is a string to tell AWStats which field to
1416
 
#   extract value from (URL,QUERY_STRING,REFERER,UA,HOST,extraX)
 
1441
#   extract value from (URL,URLWITHQUERY,QUERY_STRING,REFERER,UA,HOST,extraX)
1417
1442
#   and how to extract the value (using regex syntax). Each different value
1418
1443
#   found will appear in first column of report on a different row. Be sure
1419
1444
#   that list of different possible values will not grow indefinitely.