Page 1 of 1

How can I get awstats report on a local IP httpd server

PostPosted: Dec 3rd, '11, 20:29
by wilcal
I have a simple question concerning the use of
awstats. The MCC correctly installs awstats
and the awstats.conf file in /etc/awstats.
httpd is installed and running.
/var/log/httpd/access_log contains the log file(s)
Once that is accomplished how would one easily
and simply get the first report. awstats indicates
that you should put

http://awstats.yourdomain.com

in your browser and that will display the results.
My httpd server uses local IP addresses and not domain
names. http://awstats.127.0.0.1 does not work.
awstats.localhost does not work
awstats.192.168.1.4 does not work

This is my first go at awstats so I'm not all that
familiar with its set up.

Thanks

Re: How can I get awstats report on a local IP httpd server

PostPosted: Dec 5th, '11, 17:14
by linuxero
Hi,

I never used it, but it's no big deal..

http://awstats.sourceforge.net/docs/awstats_setup.html

may be you should better try:

http://localhost/awstats

Enjoy it

Re: How can I get awstats report on a local IP httpd server

PostPosted: Dec 5th, '11, 20:45
by wilcal
linuxero wrote:may be you should better try:

http://localhost/awstats

Enjoy it

Many thanks. That got the first top report page.
Now I get to play with the config file.

Re: How can I get awstats report on a local IP httpd server

PostPosted: Dec 5th, '11, 21:03
by linuxero
you're welcome

Re: How can I get awstats report on a local IP httpd server

PostPosted: Dec 7th, '11, 03:53
by wilcal
Got this thing to work. When you first bring it up
there's nothing in the database. The report at:

http://localhost/awstats

is all zeros. But the install puts an executable
script file in:

/etc/cron.daily

execute that and the db gets populated from:

/var/log/httpd/access.log

all that without having to modify the

/etc/awstats/awstats.conf

file. Created a second user and the report
reflected httpd traffic from both users.