Editing the configuration file

This page is here to help you building manually your configuration file. If you have a web server running, use the administration interface as it's really easier to do that way.

There is an online tool available on my website in case you would like to build your configuration file with a web interface.

Building manually your configuration file could be painful and many mistakes can be done (including typos !). So I recommend using one of the default configuration files as a template.
First locate the config.pl file. Windows users should find it in C:\Program Files\W3Perl\config.pl

Never comment any variable. If you don't know which values to put, don't change anything. The scripts need to initialize these variables to run.

line
 
Platform specific

 
line

1 $type_serveur = 0; # (0 = Unix ; 1 = Windows; 2 = Domino)
2 $dirsep = "/"; # path separator (Unix = '/' ; NT = '/' ; Acorn = '.' ; Mac = ':')
3 $dirsepurl = "/"; # URL separator (same on all platform)
4
5 $htmlext = ".html"; # html file extension
6 $gifext = ".gif"; # gif file extension
7 $plext = ".pl"; # perl file extension
8 $zipext = ".gz"; # compression suffix
9 $carext = "."; # caractere extension

In the first section, you just have to change

- $type_serveur
according to your OS.
Others don't need to be changed.

System used
$type_serveur Select on which OS you're running W3Perl
Value Comment
0 Unix
1 Windows
2 Lotus Domino

line
 
Logfiles

 
line

star Logfile format

1 ### Logfile format (http://www.w3perl.com/docs/logformat.html)
2 # CLF : Common Log File
3 # ECLF : Extended Common Log File (combined)
4 # ECLFIO : Extended Common Log File with mod_logio (combinedio)
5 # NECLF : New Extended Common Log File
6 # IIS : IIS format (IIS)
7 # W3C : W3C format (IIS)
8 # FTP : FTP
9 # Proxy : Squid format
10 # Sendmail : Sendmail/Mail format
11 # Postfix : Postfix/Mail format
12 # Exim : Exim/Mail format
13 # RealServer : RealServer
14 $logfile_format = "ECLF";

First define your logfile format. If you don't know anything about logfile format, just extract few lines from your logfile and compare them with those lines.

Windows users running an IIS server can choose between :

  • IIS format
  • W3C format (default)
  • CLF format
Note that W3C format entries are automatically detect.

Logfile format
$struct_logfile Define the logfile format
Value Comment
%host %null %login %date %hourshift %method %page %protocol %status %requetesize Common Log File
%host %login %date %hour %null %null %null %null %null %requetesize %status %null %method %page IIS
%hour %host %method %page %status W3C
%date %transfert_time %host %requetesize %page %null %null %direction %null %login %method %null %null %status FTP

star Logfile structure

1 ### Default logfile format string
2 # This is the default value
3 # but if you have changed your server configuration, alter this string
4 # W3C format is automatically extracted from logfile.
5 # You can also define your own logfile format here
6 # If you leave this field blank, default value will be used
7 $struct_logfile = "%host %null %login %date %hourshift %method %page %protocol %status %requetesize %referer %agent";

If you have changed the default value from your server configuration file, put here your modification in the logfile format you are using.

star Log filename

1 ### Logfile filename (http://www.w3perl.com/docs/logfiles.html)
2 # Fields allowed :
3 # %year [xxxx]
4 # %smallyear [xx]
5 # %month [01-12]
6 # %smallmonth [1-12]
7 # %lettermonth [Jan-Dec]
8 # %day [01-31]
9 # %smallday [1-31]
10 # %hour [0-23]
11 # %min [0-59]
12 # %sec [0-59]
13 # %rotate [1-]
14 # %prefixlog is access.log
15 # If you are using compressed logfiles, don't add suffix here
16 $struct_compressed_logfile = "%prefixlog.%rotate";

Then you'll need to inform the script about your log filename. The list of keywords is available here.

Log filename
$struct_compressed_logfile Define the log filename
Value Comment
%year.%month.%day.%prefixlog ex : 1998.03.20.access_log
%prefixlog ex : access
%prefixlog.%year-%lettermonth.log ex : access.2006-Mar.log

star Virtual hosts

1 ### Virtual server within CLF or ECLF (one logfile for several web server)
2 $virtualfilter = ""; # select which virtual server you want to parse
3 $virtualCLF = 0; # set to 1 if %virtualhost is hidden in %page (%page value begin with http://)

If you are using only one logfile for several websites, virtual host is included in the logfile so you can retrieve accesses for each websites.

  • NECLF (New Extended Common Log File)
    Virtual hosts are stored as a separate field

    A typical logfile entries look like :
    server.freshmeat.com - - [01/Jan/97:23:12:24 +0000] (www.iap.fr) "GET /fr/docs/config.html HTTP/1.0" 200 1220 "http://www.w3perl.com/" "Mozilla/5 (X11; I; Linux)"
    pc202.club-internet.fr - - [01/Jan/97:23:12:24 +0000] (www.obspm.fr) "GET /index.html HTTP/1.0" 200 1220 "http://www.w3perl.com/" "Mozilla/4.01 (X11; I; SunOS)"
    where www.obspm.fr and www.iap.fr are the virtual hosts.

    Select $virtualfilter = "www.obspm.fr" to parse only this virtual host and bypass other virtual host.

  • CLF (Common Log File)
    Use $virtualCLF = 1 if virtual host is hidden in a Common Log File like :
    server.freshmeat.com - - [01/Jan/97:23:12:24 +0000] "GET http://www.iap.fr/fr/docs/config.html HTTP/1.0" 200 1220 "http://www.w3perl.com/" "Mozilla/5 (X11; I; Linux)"

star Logfile date format

1 ### Date format - IIS server only
2 # Fields allowed :
3 # %year [YY] or [YYYY]
4 # %month [00-12]
5 # %day [00-31]
6 $date_format = "";

IIS users have to specify the date format used as it had change over IIS version.
If you choose the IIS format, use %day%month%year
If you choose the default W3C format, leave blank as there is no date entries in the log, but if you add the 'date' field use %year%month%day
If you are using an older IIS version than 5.1, launch the IIS administration interface and watch by yourself the date format used.

star Remote logfile

1 ### Remote log files
2 # If you want to retrieve external log
3 $retrieve_external_log = 0;
4 $wget_bin = "";
5 $wget_user = "";
6 $wget_pass = ''; # simple quote is needed here to avoid perl to evaluate expr
7 $remote_host_log = "";
8 $remote_host_port = "80";
9 $remote_host_dir = "";

If set to 1, the logfiles will be downloaded from a remote server.
Then the following informations should be filled :

Variable Description Comment
$wget_bin The path to the wget tool wget binary is already installed with W3Perl for Windows
$wget_user user remote account If logfiles are in a restricted area
$wget_pass user remote password If logfiles are in a restricted area
$wget_host_log remote host the host where the logfiles are stored
$wget_host_port remote port number default is 80 for a web server
$wget_host_dir remote directory directory where the logfiles are stored

line
 
Path

 
line

1 ## Output path
2 $path = "/var/www/stats/";
3
4 ## Path where the package have been installed
5 $pathinit = "/var/www/w3perl/";
6
7 ## Path where your HTML documents are stored
8 $pathserver = "/var/www/";
9
10 ## Absolute URL where your HTML documents are located (usually /)
11 $linkpathserver = "/";
12
13 ## URL where your stats will be output (see $path to extract URL)
14 $linkpath_url = "/stats/";
15
16 ## Cgi-bin path
17 $cgipath = "/usr/lib/cgi-bin/";
18
19 ## Path where log files are located on your server
20 $fileroot = "/var/www/apache2/logs/";
21
22 ## $prefixlog is the name of your log file (located in $fileroot)
23 ## $referlog, $agentlog and $errorlog are the name of your referer,
24 ## your agent log and error file if you have one.
25 ## If you have the extented common log file,
26 ## $agentlog and $referlog have the same value as $prefixlog.
27 $prefixlog = "access.log";
28 $referlog = "";
29 $agentlog = "";
30 $errorlog = "error.log";
31
32 ## Fly path (graphic tool)
33 $FLY = "/usr/local/bin/fly";
34
35 ## Gunzip or unzip path (decompression tool)
36 $GZIP = "/bin/gzip -dc";

star Output path : $path

The output path where w3perl will generate the reports. Can be anywhere. Just make sure W3Perl is able to write in the specified directory
(Eg : $path = "/export/home/www/htdocs/stats/")

star W3Perl install path : $pathinit

The W3Perl directory path (where the package have been installed)
(Eg : $pathinit = "/export/home/www/htdocs/w3perl/")

star Server path : $pathserver

The location where you can find your server's files
(Eg : $pathserver = "/var/www/html/")

star URL path to server document root : $linkpathserver

The relative path where your server's documents are stored
Usually $linkpathserver is / except for personal pages
(Eg : $linkpathserver = "/")

star URL path to w3perl output : $linkpath_url

URL where your stats will be output (remove $pathserver from $path to extract URL if $path and $pathserver share the same root directory)
(Eg : $linkpath_url = "/stats/")

star CGI Path : $cgipath

The cgi-bin directory path
If you don't know the value, don't change anything.
(Eg : $cgipath = "/var/home/www/cgi-bin/")

star Logfile path : $fileroot

The path where logfiles are stored
(Eg : $fileroot = "/export/home/www/apache/logs/";

star Log core filename : $prefixlog

The name of your logfiles (found in $fileroot). If you are using split logfiles, give the constant string ('access' for 'access.200610.gz')
usually 'access_log' for NCSA server, 'httpd-log' for CERN server, Windows users can have 'ex' for W3C format (IIS), 'in' for IIS format (IIS) or 'nc' for CLF format
(Eg : $prefixlog = "access_log")

star Referer logfile : $referlog

The name of your referer log (found in $fileroot)
if you don't have such file on your server, leave blank.
(Eg : $referlog = "referer_log")

star Agent logfile : $agentlog

The name of your agent log (found in $fileroot)
if you don't have such file on your server, leave blank.
(Eg : $agentlog = "agent_log")

star Error logfile : $errorlog

The name of your error log (found in $fileroot)
if you don't have such file on your server, leave blank.
(Eg : $errorlog = "error_log")

star Fly path : $FLY

Path to the fly tool
Execute 'whereis <command>' or 'which <command>' to find the path.
(Eg : $FLY = "/usr/local/bin/fly" on Unix or $FLY = "C:/Program Files/W3Perl/fly.exe" on Windows)

star Compression tool path : $GZIP

Path to your compression tool if you are using compressed logfiles.
Execute 'whereis <command>' or 'which <command>' to find the path.
Don't delete the flag option which allow decompression with pipe !
(Eg : $GZIP = "/opt/bin/gzip -dc" or $GZIP = "/usr/bin/bzip2 -dc" on Unix or $GZIP = "D:/bin/unzip -p" on Windows)

line
 
Export

 
line

1 ### PDF
2 $enable_pdf = 0;
3 $HTMLDOC = ""; # Convert html to pdf
4
5 ### Email
6 $enable_email = 0; # email report
7 $emailadr = ""; # your email here
8 $email_smtp = "localhost"; # smtp server to send email
9 $email_smtp_port = 25; # smtp server port
10 $email_html = 0; # send html report
11 $email_pdf = 0; # send pdf report
12 $email_daily = 0; # daily email report
13 $email_weekly = 0; # weekly email report
14 $email_monthly = 0; # monthly email report

star PDF

If you want PDF report, you should enable PDF output using $enable_pdf = 1;
Then you should give the HTMLDOC path.

star Email

To get email reports, you should first install the Mime:: perl module.
Set the $enable_email to 1 and fill the following fields :
- Email address where report will be send. If you need to send to several users, create an email alias.
- Your SMTP server you can use to send email.
- Your SMTP server port (usually 25).
- Enable $email_html if you want to send html report
- Enable $email_pdf if you want to include PDF file as an attachment.
- Last 3 fields will activate how often you want to receive report, dayly or/and weekly or/and monthly
.

line
 
Filter

 
line

1 ## WWW server address (just the name, don't add http://)
2 $localhost = "www.iap.fr";
3
4 ## Local host address (just the name, don't add http://)
5 ## Same as $localserver if the scripts are run on the server
6 $localserver = "127.0.0.1";
7 $localserver_port = 80; # Port number

star Your name server : $localserver

Name of your server where the logfiles come from. Don't add any protocol in front of the name or port number after. Domain name will be extracted from this field except if you give an IP address.
(Eg : $localserver = "www.orstom.fr")

star Local host : $localhost

Local host where the stats are running. If they are computed on the server, give the server name.
Best is to download the logfiles on a different host to avoid using server's CPU. Note it can be done automatically if the logfiles are located in a private URL.
(Eg : $localhost = "127.0.0.1")

star Local host port number : $localhost_port

Default web server are running on port 80 but if you are using another port number, change this value.
(Eg : $localhost_port = 80)

1 ## Directory filter
2 $tri = "/";
3
4 ## Filtering only one country - use country extension
5 $country_filtering = "";
6
7 ## Hosts to filter
8 ## '.ens.fr' reject the ens.fr domain
9 ## '.fr' reject all french hosts
10 @nolog = ();
11
12 ## full detailled stats for these html pages (URL from your Document root)
13 @selection = ();
14
15 ## Subdirectories with graphical stats output
16 ## (URL from your Document root)
17 @selecrepert = ();
18
19 ## Excluding subdirectories from your report
20 ## (URL from your Document root)
21 @excluderepert = ();
22
23 ## Virtual server to exclude (available for NECLF)
24 @excludevirtual = ();
25
26 ## Status code to exclude (status 400 and beyond are filtered by default)
27 @excludestatuscode = ();
28
29 ## RSS file
30 @rss_file = ();

star URL filtering : $tri

Use '/' to scan everything from your root server. Otherwise, set a directory and only URL starting with this value will be scanned. Useful if you want to scan only part of your server. (Eg : $tri = "/subdirectory/")

star Country filtering : $country_filtering

To skip log entries from a country. Use country extension
(Eg : $contry_filtering = ".com" to exclude all hosts from .com)

star Hosts filtering : $nolog

To skip log entries from some servers or domains
(Eg : @nolog = ('194.51.174','.grolier.') exclude 194.51.174.* and all grolier hosts)

star Extra report for some pages : @selection

If you need very detailed stats for some files ... don't specify too much !
(Eg : @selection = ('/raydream/index.html','/download/package.tar.gz');)

star Directories report : @selecrepert

Graphic stats for some subdirectories, should be in the same depth level. Usually give main subdirectories.
(Eg : @selecrepert = ('/raydream/','/astro/','/uk/','/fr/');)

star Directories filtering : @excluderepert

To skip entries from these subdirectories
(Eg : @excluderepert = ('/private/');)

1 ## Global variables
2 $precision = 3; # level of accuracy (from 1 (basic) to 4 (huge))
3 $show_all = 1; # will also display all items
4 $locallog = 1; # local access log (0 = no = exclude local log)
5 $localonly = 0; # only local access log (1 = yes = only local log)
6 $zip = 1; # compressed log files (1 = yes)
7 $zipcut = 3; # split log files : 0 => no ; 1 => monthly ; 2 => daily ; 3 => apache rotation
8 $topten = 10; # Show only best items
9 $seuilpage = 10; # Show pages with more than requests
10 $seuilsite = 10; # Show hosts with more than requests
11 $seuilscript = 10; # Show scripts with more than requests
12 $seuilrepert = 100; # displaying directories with more than requests
13 $optdirsize = 4; # directories traffic graphs [html pages ( 1 : total, 2 : external, 3 : local), all files ( 4 : total, 5 : external, 6 : local)]
14 $nbdays = 50; # number of days to display for graphs
15
50 @extension = ('html','php'); # html pages extensions to parse, ('') mean html files have no extension
51 @extensionimage = ('gif','jpg','png'); # images extensions to parse
52
53 $reverse_dns = 0; # Reverse IP to name (slow down computing by a large amount)
54 $reverse_geo = 0; # Map IP to country code (need to get one of the following perl module installed)
55 $netgeo = 0; # Map IP to country code (Geo::IP perl module)
56 $geoip_free = 0; # Map IP to country code (Geo::IPfree the perl module)
57 $titlename = 0; # convert URL to title (0 = no)
58 $defaulthomepage = "index.html"; # request on '/' means request on 'index.html'
59
60 ## $localdomainename is your domain name
61 ## add your IP adresses if your hosts don't have a DNS
62 ## ^ mean 'begin with', $ mean 'end with', put \ before any dot (using regex)
63 ## Ex : ^145.238.44.* (all hosts inside 145.238.44. are domain hosts)
64 $localdomainename = "iap.fr";
65 $localdomaine = "iap.fr";
66
67 $tildealias = ""; # your aliases for users HTML directory
68 $exclude_frame = 0; # set to 1 to exclude framed page
69 $exclude_robot = 1; # set to 1 to exclude robot
70 $exclude_refererspam = 0; # set to 1 to exclude referer spammer
71
72 # Spip engine used ?
73 $spip = 0; # set to 1 if you are using a spip engine

star Report level : $precision

Set the level of report. Default is 3
(Eg : $precision = from 1 to 4)

star Local domain report : $locallog

If you want to log your domain server also.
(Eg : $locallog = 1 will also compute log for your domain)

star Local domain only : $localonly

- $localonly
If you want to log ONLY your domain server
(Eg : $locallog = 1 will compute log ONLY for your domain)

star Compressed logfiles : $zip

Set $zip to 1 if you have compressed logfiles.
(Eg : $zip = 0 for uncompressed log files or $zip = 1 for compressed log files)

star Splitted logfiles : $zipcut

If your logfile are split. Set to '1' for monthly, '2' for daily logfiles, or '3' for apache rotation logfiles
(Eg : $zipcut = 0 mean only one log file)

- Threshold
- $topten
List only the $topten most successful files
(Eg : $topten = 10)

- $seuilpage
Show only files with more than $seuilpage requests.
It avoid to have too large files results. (Eg : $seuilpage = 100)

- $seuilsite
List only sites with more than $seuilsite requests
(Eg : $seuilsite = 9 to show sites with 10 accesses and more)

- $seuilscript
List only scripts with more than $seuilscript requests
(Eg : $seuilscript = 5 to show scripts used more than 5 accesses)

- $seuilrepert
List only directory with more than $seuilrepert accesses
(Eg : $seuilrepert = 0 to show all directories requests)

- $optdirsize
Type of graphs for directories traffic
1-2-3 html (total, external, domain)
4-5-6 all (total, external, domain)
(Eg : $optdirsize = 4 external and internal traffic for HTML, GIF...)

- $nbdays
Number of days for the daily graphs (0 for the year)
(Eg : $nbdays = 50)

- $virtualserver
Select one web server to filter your NECLF (only applicable with NECLF logfile)
(Eg : $virtualserver = "www.detector.com")

- $defaulthomepage
Default HTML page returned when your httpd server produced "/"
(Eg : $defaulthomepage = "index" (usual one))

- $titlename
Convert URL to the string included in your title's document
(Eg : $titlename = 1 if yes)

- $localdomaine
Add here IP hosts in your $localdomainename (if these hosts don't have DNS)
(Eg : $localdomaine = "$localdomainename|^145\.238\.44\.[4567]" will add hosts 145.238.44.4 to 7 with your domain hosts)

- $mailadr
Your email if some users want to modify your configuration file.
If people want precise infos on their pages, you should add their URL in @selection in config.pl file
(Eg : $mailadr = "webmaster\@hplyot.obspm.fr")

- $tildealias
Your alias for users HTML directory
(Eg : $tildealias = "public_html" or "www")

- $yellowfile
Need if you use yellow page NIS for your intranet DNS
(Eg : $yellowfile = "" don't use yellow page)

- $reverse_dns
Will convert IP address to name server (WARNING : very slow !!!)
(Eg : $reverse_dns = 1 will activate)



Extensions to scan
@extension Select which extensions to parse
Value Comment
('html','htm','shtml') parsing html files
('html','htm','shtml','php','php3') parsing html and php files
('html','php') parsing html and php only
('rm','ra','smi','smile','ram') parsing realserver files
@extensionimage Select which extensions to parse
Value Comment
('gif','jpg','jpeg') parsing gif and jpeg images only
('jpg','gif','png') parsing gif, jpg and png images

line
 
Display

 
line

1 # Choose languages output (@lang and @homepages must have the same number of elements)
2 # @homepages filename should be different from each other (else it will be overwritten !)
3 @homepages = ('index-fr','index');
4 @lang = ('fr','uk');
5
6 ### Graphical output
7
8 $bargraph = 0; # bar chart
9 $tridim = 1; # 3d bar chart
10 $linegraph = 0; # line
11 $fillgraph = 0; # line filled
12
13 # custom colours for links and background, graphs size (now deprecated with w3perl.css)
14 $custom_text = "#000099"; # text color
15 $custom_link = "#000080"; # link color
16 $custom_vlink = "#800000"; # visited link color
17
18 # choose either a BGCOLOR or/and a BACKGROUND images
19 $bgcolor = "#FFFFFF";
20 $background = "";
21
22 # choose to display your own logo file
23 # file is located in /w3perl/resources/ or use absolute URL
24 $logo = "logo.png";

- @homepages
Filename for your different language
You should have the same number of elements than @lang. Default language homepage should be 'index'
(Eg : @lang = ('index','index-fr') if you select english and french ouput and english is default)

- @lang
Choose your languages output. Use country extension. List of language available is in resources/lang/
(Eg : @lang = ('uk','fr') if you need english and french ouput)

- $frame_updown
Choose top-bottom or right-left frames
(Eg : $frame_updown = 1 means top-bottom frames)

- $topframelinks
: configure your own link in the top frame
(Eg : $topframelinks = "My_server")

- $bargraph (bar chart) , $tridim (3D bar chart) , $linegraph (line) , $fillgraph (filled lines)
Set to 1 which output you want
(Eg : $tridim = 1 for 3D bar chart)

- People without CSS
- $custom_text
Use your own color for text
(Eg : $custom_text = "#000000" for black)

- $custom_link
Use your own color for link
(Eg : $custom_link = "#000080")

- $custom_vlink
Use your own color for vlink
(Eg : $custom_vlink = "#800000")

- $bgcolor
Use your own color for background
(Eg : $bgcolor = "#FFFFFF")

- $background and $backgrd
If you want to use a background for fun
Put your image in /w3perl/resources/ or make a symbolic link from this directory
(Eg : $background = "background.gif" and set $backgrd = "BACKGROUND=\"$background\"")

line
 
Scripts

 
line

1 # Scripts running
2 $actif_inc = 1;
3 $actif_real = 1;
4 $actif_hour = 1;
5 $actif_day = 1;
6 $actif_week = 1;
7 $actif_month = 1;
8 $actif_year = 1;
9 $actif_agent = 1;
10 $actif_refer = 1;
11 $actif_session = 1;
12 $actif_error = 1;
13 $actif_history = 1;
14 $actif_url = 1;
15
16 # Scripts option
17 $option_pages = "";
18 $option_inc = "";
19 $option_real = "";
20 $option_hour = "";
21 $option_day = "";
22 $option_week = "-g line";
23 $option_month = "";
24 $option_year = "";
25 $option_agent = "";
26 $option_refer = "";
27 $option_session = "-d 10";
28 $option_error = "-k";
29 $option_history = "";
30 $option_url = "";
31
32 # Scripts running every n day
33 $inc_launch = 1;
34 $hour_launch = 1;
35 $day_launch = 1;
36 $week_launch = 1;
37 $month_launch = 1;
38 $year_launch = 1;
39 $refer_launch = 1;
40 $agent_launch = 1;
41 $error_launch = 1;
42 $session_launch = 1;
43 $url_launch = 1;
44 $history_launch = 1;
45
46 # Hour when scripts are running
47 $inc_launch_time = 0;
48 $inc_launch_time_min = 0;
49 $hour_launch_time = 0;
50 $day_launch_time = 0;
51 $week_launch_time = 0;
52 $month_launch_time = 0;
53 $year_launch_time = 0;
54 $agent_launch_time = 0;
55 $refer_launch_time = 0;
56 $error_launch_time = 0;
57 $session_launch_time = 0;
58 $url_launch_time = 0;
59 $history_launch_time = 0;
60
61 $week_launch_day = 1;
62 $month_launch_day = 1;
63
64
65 # cron-url.pl
66 $url_frame = 1; # Framed HTML pages
67 $url_doublon = 1; # HTML pages with same TITLE tag or without
68 $url_absolute_link = 1; # List of absolute links to avoid
69 $url_symbolic_link = 1; # List of symbolics link (Unix)
70 $url_bad_link = 1; # List of wrong links
71 $url_useless = 1; # List of HTML pages never link from
72 $url_directory = 1; # Stats about directories
73 $url_weight = 1; # Stats about the most heavy pages
74 $url_link = 1; # Stats about number of links in HTML pages
75 $url_image = 1; # Stats about number of images in HTML pages
76 $url_new_doc = 1; # New HTML pages on your server
77 $url_cdrom = 1; # Show HTML pages without index.html link
78 $url_img_tag = 1; # Images without ALT or having bad WIDTH and HEIGHT tags
79 $url_tree = 1; # Show server tree
80
81
82 # cron-session.pl
83 $session_connection = 1; # Average reading time
84 $session_visit = 1; # Show the number of visits by day
85 $session_average = 1; # Show average load versus hour and day of the week
86 $session_login = 1; # Show people accessing password protected area
87 $session_description = 1; # List of session by hosts
88 $session_engine = 1; # List of robots scanning your web
89 $session_reading = 1; # Average reading time per page
90
91
92 # cron-pages.pl and cron-inc.pl
93 $inc_host = 1; # not yet implemented
94 $inc_page = 1; # not yet implemented
95 $inc_directory = 1; # not yet implemented
96 $inc_country = 1; # not yet implemented
97 $inc_script = 1; # Stats about the scripts used and the parameters used
98 $inc_virus = 0; # Stats about virus
99 $inc_download_aborted = 0; # Stats about incomplete download

-  Scripts running
Set to '1' which scripts you want to run.
$actif_inc is for incremental stats.
$actif_real is for real time stats.
$actif_hour is for hourly stats.
$actif_day is for daily stats.
$actif_week is for weekly stats.
$actif_month is for monthly stats.
$actif_agent is for agent stats.
$actif_refer is for referer stats.
$actif_session is for session stats.
$actif_error is for error stats.
$actif_history is for CPU stats.
$actif_url is for document stats.

Scripts you may want to disable is url, session, history, error, real. Leave others actif.

-  When to update
Set the number of day between two run for each script. '1' mean a daily run. $url_launch, $week_launch may be set to one week '7'. $month_launch may be set to a month '30'.

-  When to run