config.pl documentation.

This page is a part of WWWstats documentation.

config.pl documentation.

This is a list of all the options that can be set in WWWstats configuration files:

$LogFile
Full path to the log file.
@SkipFiles
A Perl array of files to be skipped. These are really Perl regexps, but you don’t need to know regexps to use them. If you want the file private.html to be skipped as well as all GIFs, you write: @SkipFiles=(“private.html”,”.gif”);
@SkipHosts
This works just like SkipFiles, but is matched against the host name of visitors instead. Useful for leaving out your own hits if you have a static IP address.
$Barwidth
The size (in pixels) of the largest bar in the graphs.
$BarImage
The URL to the bar image. (Note that this value is inserted as the SRC of the IMG element in the HTML report, so it can be anything you like as long as it points to a suitable bar.)
$ForString
The string that’s printed in the header of each report after “Foo report for”.
$MinHitHost
In the main report listing of visiting hosts, only hosts with more hits than the value of this variable are listed.
$MaxNoHosts
In the same listing this variable gives the maximum number of hosts listed.
$MinHitFile
In the main report listing of the most visited pages, only pages with more hits than what this variable is set to will be listed.
$MaxNoFiles
This variable limits the maximum number of pages listed in the same listing as MinHitFile controls.
$DefaultFile
This is the name of the file your server is configured to deliver if you request a directory. (Really a Perl regexp.) This is used to make sure that URLs like these two:
  • http://www.stud.ifi.uio.no/

Comments