From: eldy <> Date: Sat, 11 Nov 2000 00:39:02 +0000 (+0000) Subject: Add example of a config file X-Git-Tag: AWSTATS_1_0~388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1ced4f6d1ecb38135c270021e42b3c80dcaa0be;p=thirdparty%2FAWStats.git Add example of a config file --- diff --git a/awstats.model.conf b/awstats.model.conf new file mode 100644 index 00000000..c414393c --- /dev/null +++ b/awstats.model.conf @@ -0,0 +1,179 @@ +# AWStats configure file +#------------------------------------------------------------------------ +# Copy this file into awstats.www.myserver.mydomain.conf or awstats.conf +# and edit this new file to setup AWStats. +# If you don't understand what is a parameter, keep default value. +#------------------------------------------------------------------------ + + +# Main setup section (Required to make AWStats working) +#------------------------------------------------------------------------ + +# Web server logfile to analyze, with full path or relative path from +# awstats.pl directory. +# Example: "../logs/mycombinedlog.log" +# Example: "C:/WINNT/system32/LogFiles/W3SVC1/exyymm.log" +# Example: "C:/WINNT/system32/LogFiles/W3SVC1/ex" +# +LogFile="/var/log/httpd/mylog.log" + +# Put here your log format (it depends on your web server). +# Possible values: +# 1 - Apache combined log format +# 2 - IIS extended W3C log format +# +LogFormat=1 + +# Set this to a directory where you want AWStats to save its working files. +# Need write permissions by web server. +# Example: "../data", "C:/HISTORYDIR", ... +# Default: "." means same directory as awstats.pl +# +DirHistory="." + +# Relative or absolute web URL of your awstats.pl directory. +# Usefull only when AWStats is used from command line. +# Default: "/cgi-bin" means awstats.pl is in "yourwwwroot/cgi-bin" +# +DirCgi="/cgi-bin" + +# Relative or absolute web URL of all icons subdirectories. +# Default: "/icon" means you must copy icons directories in "yourwwwroot/icon" +# +DirIcons="/icon" + +# If host names are already resolved in your logfile, set this to 0 will +# increase performances. +# Possible values: 1 or 0 +# Default: 1 +# +DNSLookup=1 + +# If AWStats can purge log after processing it, it will do so. You can however +# keep an archive file (saved in DirHistory) of all processed log records by +# setting this to 1 (For example if you want to use another log analyzer). +# Possible values: 1 or 0 +# Default: 0 +# +ArchiveLogRecords=0 + + + +# Optionnal setup section (Not required but increase AWStats features) +#------------------------------------------------------------------------ + +# Set your primary language. +# Possible value: +# 0=English, 1=French, 2=Dutch, 3=Spanish, 4=Italian, 5=German +# 6=Polish +# Default: 0 +# +Lang=0 + +# Index page name for your web server. +# Example: "default.htm" +# Default: "index.html" +# +DefaultFile="index.html" + +# Put here all possible domain names, addresses or virtual host aliases +# someone can use to access your site. Try to keep only the minimum number of +# possible names/adresses to have the best performances. +# Use space between each value and put a backslash before each dot. +# Example: "www\.myserver\.com x\.y\.z\.w localhost 127\.0\.0\.1" +# +HostAliases="www\.myserver\.com x\.y\.z\.w localhost 127\.0\.0\.1" + +# Do not include access to URLs that match following entries. +# If you don't want to include users homepage in your stats, add "/~". +# You can also, if you want, add list of not important frame pages (like +# menus, etc...) to exclude them from statistics. +# Use space between each value and put a backslash before each dot. +# Do not remove default values. +# Example: "\.css \.js \.class robots\.txt badpage\.html /~" +# Default: "\.css \.js \.class robots\.txt" +# +SkipFiles="\.css \.js \.class robots\.txt" + +# Do not include access from clients that match following IP address +# You can also put partial host names but this requires that reverse +# DNS lookup is already done in your server log file. +# Use space between each value and put a backslash before each dot. +# Example: "55\.55\.55\.55 222\.222\.222\.222 abcxyz" +# Default: "" +# +SkipHosts="" + +# AWStats can detect setup problems or show you important informations to have +# a better use. Keep this to 1, except if AWStats says you can change it. +# Possible values: 1 or 0 +# Default: 1 +WarningMessages=1 + +# Each URL shown in stats page are links you can click. +# Possible values: 1 or 0 +# Default: 1 +# +ShowLinksOnUrl=1 + +# Flags with link to other languages translation are visible. +# Possible values: 1 or 0 +# Default: 1 +# +ShowFlagLinks=1 + +# You can put here HTML code that will be added at the end of AWStats reports. +# Great to add advert ban. +# Default: "" +# +HTMLEndSection="" + +# Value of maximum bar width/heigth for horizontal/vertical graphics bar +# Default: 260/220 +# +BarWidth = 260 +BarHeight = 220 + +# This value can be used to choose maximum number of lines shown for each +# particular reporting. +# +# Stats by hosts +MaxNbOfHostsShown = 25 +MinHitHost = 1 +# Stats by pages +MaxNbOfPageShown = 25 +MinHitFile = 1 +# Stats by referers +MaxNbOfRefererShown = 25 +MinHitRefer = 1 +# Stats for keywords +MaxNbOfKeywordsShown = 25 +MinHitKeyword = 1 +# Stats by robots +MaxNbOfRobotShown = 25 +MinHitRobot = 1 + +# You can set this to use your own logo. +# Logo file must be in $DirIcons/other directory +# Default: "awstats_logo1.png" +# +Logo="awstats_logo1.png" + +# Colors used on AWStats report page. +# Example: color_name="RRGGBB" # RRGGBB is RedGreenBlue components in Hex +# +color_Background="FFFFFF" # Background color for main page (Default = "FFFFFF") +color_TableBorder="000000" # Table border color (Default = "000000") +color_TableBG="DDDDBB" # Background color for table (Default = "DDDDBB") +color_TableTitle="FFFFFF" # Table title font color (Default = "FFFFFF") +color_TableBGTitle="666666" # Background color for table title (Default = "666666") +color_TableRowTitle="FFFFFF" # Table row title font color (Default = "FFFFFF") +color_TableBGRowTitle="BBBBBB" # Background color for row title (Default = "BBBBBB") +color_link="4000FF" # Color of HTML links (Default = "4000FF") +color_v="F3F300" # Background color for number of visites (Default = "F3F300") +color_w="FF9933" # Background color for number of unique visitors (Default = "FF9933") +color_p="4477DD" # Background color for number of pages (Default = "4477DD") +color_h="66F0FF" # Background color for number of hits (Default = "66F0FF") +color_k="339944" # Background color for number of bytes (Default = "339944") +color_s="8888DD" # Background color for number of search (Default = "8888DD") +