AWStats
AWStats
is short for Advanced Web Statistics. It is a free tool that generates advanced Web server access statistics in a graphical format.
This Web Log Analyzer works as a CGI or from command line and shows you
all possible information your log contains in few graphical web pages. It uses a partial information file to be able to process large
log files, often and quickly.
Installation
AWStats is available from the FreeBSD Ports Collection in the
/ports/www/awstats/ directory.
Connect to your VPS v2 server via SSH,
su to root, and run the following command:
# cd /ports/www/awstats/
# make install clean
The AWStats files are installed by default into the /usr/local/www/awstats/cgi-bin/ directory on your VPS v2 server.
Copy the files in the /usr/local/www/awstats/cgi-bin/ directory to the cgi-bin of the domain using AWStats. Check
to make sure the awstats.pl script has execute permissions.
Usage
AWStats can be run using a configuration file or with specific options from the command line. There are a few different ways to
use the configuration file. The easiest is to use the sample configuration file included in the install and customize it. Be sure
to modify atleast the LogFile and SiteDomain lines and save the file as awstats.conf. Place the configuration
file in the same directory as the awstats.pl script. To generate the statistics for your site you would use a URL similar
to this:
http://YOUR-DOMAIN.NAME/cgi-bin/awstats.pl
The CGI may take a few moments to finish, particularly if your log files are large in size. To generate the statistics from
command line run a command similar to the following:
# /usr/local/www/cgi-bin/awstats.pl -h YOUR-DOMAIN.NAME
Documentation
More information on customizing your reports can be found from AWStats
|
|