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: Gubar Maubar
Country: Saint Lucia
Language: English (Spanish)
Genre: Photos
Published (Last): 19 February 2017
Pages: 369
PDF File Size: 9.32 Mb
ePub File Size: 8.63 Mb
ISBN: 129-2-98622-440-5
Downloads: 73145
Price: Free* [*Free Regsitration Required]
Uploader: Mezahn

The third article in this series, Scheduling Awstats Report Generationwill show you how to save time and effort by automating the report generation process. For awstats, this means the number of unique IP addresses in your web logs. The theory is that search engines will count the stats page as another site linking to their site.

We added the build script to our crontab: Post new content or topics so our teams can assist. For a closer look at what reports this script will build, buildsraticpages the buildztaticpages online documentation.

By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

Edit your awstats config file accordingly, then run the report generation again to make sure it works with the new directory. Searching new records from beginning of log file There’s a school of thought among less-reputable web admins that encourages doing whatever you can to increase your search engine ratings.

I’m using Debian Squeeze x If you don’t have a robots. That way your stats site won’t show up on major search engines at all, defeating the purpose of any efforts to manipulate your referers report.

AWStats has the option to generate the pages on the fly using CGI; however, for security reasons, we like the idea of static pages. The name of your config file should have “awstats. It is important to buildstatjcpages out the address you will use to view the reports. Watch out for the Alias directives that the configure program adds to httpd.


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

The total of all the outgoing response sizes is the “bandwidth” statistic in awstats. This is not necessarily the total bandwidth used by the site — it’s just the total bandwidth that got recorded in your web server’s access logs. This is a simple approach that creates static html pages to display your web traffic. There are several available reports linked at the top of the main report page. We’ve got awstats installed and configured, and now we can run it to generate web traffic reports.

Installing AWStats and using it to build static statistic pages

First bypass old records, searching new record Hits Everything a web browser requests from a site is a “hit. We added the build script to our crontab:.

Note that this domain matches up with the name of the config file you created in the first awxtats of this series. It updates the stats and generates bulidstaticpages standard reports by using the main awstats. Well, web stats packages have certainly improved over the years, and we decided to implement AWStats on one of our servers.

You can do that by password-protecting that part of the site, or by builldstaticpages access to that site to just localhost and using ssh tunneling to view your stats. Bandwidth In the combined log format the web server records the size of all the requests and responses that get sent between the browser and the server.

So in order to all statistic files could be formed, you must determine or uncomment default values for options in awstats config file. A “visit” encompasses all page hits from a visitor within an hour or so of each other. If you want to keep your stats public you should at least modify your site’s “robots.


The The Community is live! I learned this by practical, it was not described in the documentation. 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: Sign up using Email and Password.

A note about referer spam You may notice that the “referer” information in your reports contains links to referring web sites. You may notice that the “referer” information in your reports contains links to referring web sites. Next, we need to set up the directory that houses the database and run an update to make sure all is in place and happy:. These can be quite dangerous. The first thing to adjust is the log format. For years we have run our own homebrew web stats application out of frustration with currently available tools.

Restart Apache to make the changes active, and get rid of the old format entries if you are changing:. If you discover that you created the reports in a directory you cannot see from a browser, you may want to make a new reports directory.

Installing AWStats and using it to build static statistic pages

To see the report results, point your browser to the main html file that was identified by the script run to generate the report. In web traffic terms, a “page” is the main page of a visited URL. The first article in this series, Installing awstats on Linuxtaught you how to how to install and configure awstats for your site.

Back to top