summaryrefslogtreecommitdiff
path: root/network/awstats/README
blob: 68693856c0a2d7702498658e032b5ebe1c7acf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
AWStats is a free, powerful and featureful tool that generates advanced web
streaming, ftp or mail server statistics, graphically.  AWStats works as a
CGI or from command line and shows you all possible information your log
contains, in few graphical web pages.  It can analyze log files from all
major server tools like Apache log files and a lot of other web, proxy,
wap, streaming servers, mail servers and some ftp servers.

There's an automated script (awstats_configure.pl) to prepare the httpd
config file located in DOCROOT/awstats/ - however, you should not
need/want to run it; instead, everything should work well if you make the 
changes listed below.

Edit /etc/httpd/httpd.conf (this is a required change to use AWStats):
Comment this out:     CustomLog "/var/log/httpd/access_log" common
Uncomment this:       CustomLog "/var/log/httpd/access_log" combined

Short How-to for using AWStats as CGI:

Add the following include line /etc/httpd/httpd.conf:
Include /etc/httpd/extra/httpd-awstats.conf
You need to load mod_cgid.so and mod_cgi.so modules

Then restart httpd:   "/etc/rc.d/rc.httpd restart"

A sample config file will be placed in /etc/awstats; Make some necessary changes
and please read the necessary steps to start awstats from online page
starting from step 4:
http://www.awstats.org/docs/awstats_setup.html

If you wish to update the process automatically, please refer to:
http://www.awstats.org/docs/awstats_faq.html#CRONTAB