When used in online mode, AWStats updates its reports on request. The first is interactive, or “online,” mode. The Perl source is neither very clear nor particularly readable, so it’s not easy to change the behavior of the software, but you can use it “as is” for most common needs.ĪWStats works in two modes. It requires an interpreter that can execute Perl scripts and has a small footprint on the server. In fact, most of the time, AWStats doesn’t consume any resources at all.ĪWStats is a Perl application with a simple structure. It is also very fast, and it doesn’t consume many resources. It can analyze a wide variety of logs, and it creates good reports - not the full-featured, interactive, and special-effect-filled reports costly commercial software generates - but still useful, with all the important data presented tastefully. If you can’t afford to devote an entire server to Web log analysis and report creation, then you need an inexpensive and fast solution that isn’t terribly resource-intensive.įortunately, such as solution exists, and its name is AWStats.ĪWStats is a free, open source log analyzer. For example, recent WebTrends (one of the more popular commercial packages) versions require considerable RAM and processor time. In addition, some log analyzers have a performance impact on the server itself. Unfortunately, most are also very expensive. Need to know what your Web site users are visiting in your sites? Try this free and open source Web log analyzer you can use with IIS6-hosted Web sites and applications.īecause log analysis is so important, many commercial software applications create useful and good-looking reports. Analyzing the logs reveals information about which resources are popular, what kinds of browsers people are using, how much bandwidth a Web site consumes, the request trend during a given time span, and so on. When logging is enabled, Web servers log information about each request. Awesome.Web server logs are a powerful resource for extracting information about Web sites and applications. # This is to permit URL access to scripts/files in AWStats directory.Īnd there's AWStats in the browser. ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/" # Directives to allow use of AWStats as a CGIĪlias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"Īlias /awstatscss "/usr/local/awstats/wwwroot/css/"Īlias /awstatsicons "/usr/local/awstats/wwwroot/icon/" Reinstated the AWStats configuration changes to etc/apache2/nf: # Then: a2enmod cgiĬommented out the changes AWStats had made, ran a2enmod, restarted and 'Hello World' worked. To do so, first remove (or comment out) the things you've already added. Note that in Debian, there's an advanced configuration system which would have done all of this for you, if you would have used it -) What you want to do is ensure that you have something like That means you haven't configured authorization for your webserver. Posted a more useful question, joined the Debian email list and was referred to the docs: /usr/share/doc/apache2/README.Debian then got the following SO response: Hmmm: AH01630: client denied by server configuration: /usr/local/apache2 Cool!Ĭhecked Apache error log: $ sudo cat /var/log/apache2/error.log Shows a tree of files, ownerships and permissions. Someone at Linode (web hosting) recommended using to check file permissions: sudo apt-get install tree Played around with changing ownerships of various files to and from root:root, myusername:www-data. Made sure all permissions were 755 for directories and 644 for files. First (useful) thing I did was just post a simple "hello world" script in the cgi-bin: #!/usr/bin/perl
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |