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

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

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

Postby wilcal » Dec 3rd, '11, 20:29

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
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

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

Postby linuxero » Dec 5th, '11, 17:14

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
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

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

Postby wilcal » Dec 5th, '11, 20:45

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.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

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

Postby linuxero » Dec 5th, '11, 21:03

you're welcome
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

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

Postby wilcal » Dec 7th, '11, 03:53

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.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron