$sUpdateSiteFilename: ignore (this will be discussed in future documentation)
Awstats explained update#
If you don’t want your users to be able to update stats themselves, set $bConfigUpdateSites to false (they will still need a password to do this). If you want to remove the “change site” link, change $bConfigChangeSites to false. $sConfigDefaultView: ignore (this will be discussed in future documentation)
$sDefaultLanguage: (NEW to v0.7) the default language (see list of languages below) you can access it from a web browser by typing in the appropriate URL.ĭuplicate the file, calling the new copy config.php.Įdit your new config.php using your favourite text editor as follows: This folder should be needs to be web-visible, i.e. JAWStats will not function without it.ĭownload and unpack the latest version of JAWStats into a folder on your web server. Please make sure AWStats is already installed and working on your server. This sofware requires AWStats to be installed. It runs in conjunction with AWStats and produces clear and informative charts, graphs and tables about your website visitors. JAWStats is a free, open-source website statistics and analytics package.
Awstats explained code#
Note that these statistics are public unless you secure them.Īdd the following code to /etc/crontab for each domain:Ġ */3 * * * /usr/lib/cgi-bin/ -config=yourdomain.ext -update > /dev/null Statistics for yourdomain.ext should now be available at:įor if you have multiple config files. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Otherwise, add this code inside the VirtualHost tag for each domain you want to monitor:Īlias /awstatsclasses “/usr/share/awstats/lib/”Īlias /awstats-icon “/usr/share/awstats/icon/”Īlias /awstatscss “/usr/share/doc/awstats/examples/css” If you have no VirtualHosts set up, place the following code in ‘/etc/apache2/sites-available/default’. Navigate to /etc/apache2/sites-available/ In order to access Awstats, we have to tell Apache2 where it is. usr/lib/cgi-bin/ -config=yourdomain.ext -updateįirst tell your apache to use mod_cgi if you haven’t enabled it yet Generate the initial stats for AWStats based on existing var/log/apache2/access.log: HostAliases=”localhost 127.0.0.1 yourdomain.ext” The template is called “nf”.Ĭreate a copy of nf for each domain:Ĭp /etc/awstats/nf /etc/awstats/ For more help, get XChat and subscribe to channel “#awstats” on the Ubuntu Server.Īwstats configuration files in Ubuntu are located in /etc/awstats. It assumes you already have an Apache2 web server up and running. The following documentation contains specific information on installing and configuring Awstats with Ubuntu and Apache2. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers. It uses a partial information file to be able to process large log files, often and quickly. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages.
Awstats explained free#
AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically.