The configuration file needs to remain in the same directory as The model configuration file gives you most of the information you. and this works like a charm, it takes every possible config from /etc/awstats/, but when I would like to generate html with i. Find the location, where script is installed, using one of the following rpm -ql awstats | grep buildstaticpages.

Author: Mashakar Tesida
Country: Montserrat
Language: English (Spanish)
Genre: Environment
Published (Last): 17 February 2009
Pages: 250
PDF File Size: 14.39 Mb
ePub File Size: 18.73 Mb
ISBN: 681-7-40336-649-7
Downloads: 7673
Price: Free* [*Free Regsitration Required]
Uploader: Gromi

We’ve got awstats installed and configured, and now we can run it to generate web traffic reports. If you don’t have a robots.

Installing AWStats and using it to build static statistic pages

This specifies the Apache access log file and purges that file after awstats is run. In your reports directory you should now see a lot of html files: For “-awstatsprog” you want the value to be the location of the “awstats. These can be quite dangerous. Home Questions Tags Users Unanswered. Replies 0 replies Subscribers 52 subscribers Views views Users 0 members are here.

nginx – Awstats: only builds 1 report, not full reports – Server Fault

The main statistics you will see at the beginning of the report bear some quick explanation:. You can do that by password-protecting that part of the site, or by restricting access to that awstags to just localhost and using ssh tunneling to view your stats. The “-dir” option refers to the directory where you want buildstaticpagea to create its reports. The preferred method to keeping the stats pages from being used for spamming purposes is to protect the stats directory from unauthorized access.


A good time to update stats is at midnight, both for load, and to get the stats to match full days. I learned this by practical, it was not described in the documentation. Server Fault works best with JavaScript enabled. Jumped lines in file: Well, web stats packages have certainly improved over the years, and we decided to implement AWStats on one of our servers.

AWStats tip: creating static pages (and why it’s a good idea)

Restart Apache vuildstaticpages make the changes active, and get rid of the old format entries if buildwtaticpages are changing:. To see the report results, point your browser to the main html file that was identified by the script run to generate the report. The theory is that search engines will count the stats page as another site linking to their site. We used the standard combined log format:.

First bypass old records, searching new record It updates the stats and generates several standard reports by using the main awstats.

Thank you, that did the trick, so I need to add all those setting in order to generate all the pages? So in order to all statistic files could be buildztaticpages, you must determine or uncomment default values for options in awstats config file.

The “config” value should be the main domain name for the site.

We added the build script to our crontab:. If you want your web stats to show up on search engines for some reason, then at least tell robots not to index the referer page report:. Email Required, but never shown.


We used the standard combined log format: You may notice that the “referer” information in your reports contains links to referring web sites. By using our site, you acknowledge that you have read and understand our Cookie BuildstaticpagewPrivacy Policyand our Terms of Service.

If they are only in awstats.

Generating and Viewing Awstats Reports

Awstats in action The first article in this series, Installing awstats on Linuxtaught you how to how to install and configure awstats for your site. The first article in this series, Installing awstats on Linuxtaught you how to how to install and configure awstats for your site. If the script encounters an error, you will receive troubleshooting advice, for example, as verifying that you used the right “config” identifier.

This is a line in httpd. 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. Tracks how many times visitors return to the site. The third article in this series, Scheduling Awstats Report Generationwill show you how to save time and effort by automating the report generation process. The first thing to adjust is the log format.

Why do you nulling the script output?

Author: admin