

Only the traffic reports will be accessible through a web browser. Using this installation scheme, we avoid exposing the awstats scripts to the internet. Assuming that our DocumentRoot is /home/jsmith/public_html/, we create a new directory in there: # mkdir /home/jsmith/public_html/traffic The directory which will hold the traffic reports can be located inside our web site’s root directory, so that they are accessible from a web browser. So, we create the first one inside the awstats installation directory: # mkdir /home/jsmith/awstats/statdata We will need to create two more directories, one for the awstats statistical data and one for the traffic reports (static HTML pages). You may want to rename this to just awstats: # mv awstats-X.X awstats This is where all scripts and other supplemental files are installed.
AWSTATS PUBLIC DOWNLOAD
So, download the latest awstats version from the Project Page and extract it: # tar -xzvf awstats-X.X.tar.gz -C /home/jsmith/Ī new directory ( awstats-X.X) is created in our Home.
AWSTATS PUBLIC INSTALL
We will install the AWstats package in our Home directory. Custom installation in our Home directory

For this article we will use an apache log file in the " combined" format. This is not necessary though.Īctually, only the last one is a necessity, as awstats can be configured to generate statistics even from heavily customized log formats. This means that the log files contain the visitors’ hostnames instead of their IP addresses in the HOST field. You have configured the Apache web server to do reverse DNS lookups ( HostnameLookups On).The log file is written in the " combined" format (NCSA combined/XLF/ELF log format).Our web site is configured to have its own log file.Make a quick introduction to user-defined charts.
AWSTATS PUBLIC HOW TO
We will focus on the creation of static HTML reports, but some info on how to use as a CGI is also provided.
