![]() You can do it manually by adding the following command to your cron: Sorry, does not support automatic add to cron yet. > Create config file '/etc/awstats/awstats.Config file /etc/awstats/awstats.created. In which directory do you plan to store your config file(s) ?ĭirectory path to store config file(s) (Enter for default): Your web site, virtual server or profile name: What is the name of your web site or profile analysis ? > Need to create a new config file ?ĭo you want me to build a new AWStats config/profileįile (required if first install) ? y > Update model config file '/etc/awstats/' > Check and complete web server config file '/path/to/apache/conf/nf'Īdd 'Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"'Īdd 'Alias /awstatscss "/usr/local/awstats/wwwroot/css/"'Īdd 'Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"'Īdd 'ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"'ĪWStats directives added to Apache config file. > Running OS detected: Linux, BSD or Unixįound Web server Apache config file '/path/to/apache/conf/nf' Read the AWStats documentation (docs/index.html). You want to 'understand' all possible ways to use AWStats. You need to analyze load balanced servers log files, You want to analyze mail or ftp log files instead of web log files, You want to analyze downloaded log files without web server, In AWStats setup, however following the step by step manual setupĭocumentation (docs/index.html) is often a better idea. You can try to use it to let it do all that is possible This tool will help you to configure AWStats to analyze statistics for AWStats awstats_configure 1.0 (build 1.6) (c) Laurent Destailleur. We used the RPM of AWStats and the default installer: awstats]# tools/awstats_ If you do this at the beginning, you will be able to hit your logs with a few entries by the time you finish configuring. Restart Apache to make the changes active, and get rid of the old format entries if you are changing: cat /dev/null > /path/to/apache/logs/access_log For instance: ErrorLog logs/-error_logĬustomLog logs/-access_log combined Note that your virtual hosts area needs to define combined as the log format as well. We used the standard combined log format: LogFormat "%h %l %u %t \"%r\" %>s %b \"%i\"" combined The first thing to adjust is the log format. We are doing this on a Red Hat Enterprise 4 box with Apache 2, so some items may be specific, but this is mostly generic. ![]() Well, web stats packages have certainly improved over the years, and we decided to implement AWStats on one of our servers. For years we have run our own homebrew web stats application out of frustration with currently available tools.
0 Comments
Leave a Reply. |