[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Webalizer on Qube3
- Subject: [cobalt-users] Webalizer on Qube3
- From: "Santiago Montalvan" <smontalvan@xxxxxxxxxxxxxxxxx>
- Date: Sun Nov 30 20:44:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
What I meant for you to do is the following:
Delete the contents from awstats.sh that you created following the
instructions on the website and use the following lines and then save the
awstats.sh
cd /home/groups/home/web/awstats/cgi-bin
perl awstats.pl -config=www.yourdomain.com -update -output -staticlinks >
/home/groups/home/web/awstats/index.html
perl awstats.pl -config=www.yourdomain.com -output=allhosts -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.allhosts.html
perl awstats.pl -config=www.yourdomain.com -output=lasthosts -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.lasthosts.h$
perl awstats.pl -config=www.yourdomain.com -output=unknownip -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.unknownip.h$
perl awstats.pl -config=www.yourdomain.com -output=alllogins -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.alllogins.h$
perl awstats.pl -config=www.yourdomain.com -output=lastlogins -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.lastlogins$
perl awstats.pl -config=www.yourdomain.com -output=allrobots -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.allrobots.h$
perl awstats.pl -config=www.yourdomain.com -output=lastrobots -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.lastrobots$
perl awstats.pl -config=www.yourdomain.com -output=urldetail -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.urldetail.h$
perl awstats.pl -config=www.yourdomain.com -output=urlentry -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.urlentry.html
perl awstats.pl -config=www.yourdomain.com -output=urlexit -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.urlexit.html
perl
awstats.pl -config=www.yourdomain.com -output=browserdetail -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.browser$
perl awstats.pl -config=www.yourdomain.com -output=osdetail -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.osdetail.html
perl
awstats.pl -config=www.yourdomain.com -output=unknownbrowsers -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.unkno$
perl awstats.pl -config=www.yourdomain.com -output=unknownos -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.unknownos.h$
perl awstats.pl -config=www.yourdomain.com -output=refererse -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.refererse.h$
perl awstats.pl -config=www.yourdomain.com -output=refererpages -staticlinks
> /home/groups/home/web/awstats/awstats.www.yourdomain.com.refererp$
perl awstats.pl -config=www.yourdomain.com -output=keyphrases -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.keyphrases$
perl awstats.pl -config=www.yourdomain.com -output=keywords -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.keywords.html
perl awstats.pl -config=www.yourdomain.com -output=errors404 -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.errors404.h$
perl awstats.pl -config=www.yourdomain.com -output=alldomains -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.alldomains$
I just did a copy and paste from Pico and so it got cut out and that's why
the $ at the end. Example:
perl awstats.pl -config=www.yourdomain.com -output=alldomains -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.alldomains$
Is really this:
perl awstats.pl -config=www.yourdomain.com -output=alldomains -staticlinks >
/home/groups/home/web/awstats/awstats.www.yourdomain.com.alldomains.html
If you want to see the file names of each of the HTML files (in case they
got cut out pretty bad and you don't know what they are) just go to
http://awstats.sourceforge.net/docs/awstats_setup.html and go down to Step
3.
Once you are done the awstats.sh script will actually create all the reports
that AWStats is intended to create, if you use the original script posted by
http://cobalt.depopo.net/html/awstats.asp it will only create the main html
page but it will not create the browser reports, or the country reports,
etc.
Once done look at your stats at
http://www.yourdomain.com/awstats/cgi-bin/awstats.pl.
I hope this helps.
Santiago.
For more help contact me offline at smontalvan - a t - montalvanware.com and
I can attach the awstats.sh and send you an e-mail.
Replying to this...
Thanks, Santiago! This worked, although I do not completely understand yet.
I did exactly as the How-To specified, and there was no problem. The last
thing they tell you to do is to visit the site www.yourdomain.com/awstats
and this showed the results of the few hits that had come in during the hour
in which the install occurred (no historical data). This is not a problem,
but I suspect that your further advice about the awstats.sh cron script
applies here, except I don't understand it. The entire contents of the
script at the moment is:
cd /home/groups/home/web/awstats/cgi-bin
perl awstats.pl -config=localhost -output -staticlinks >
/home/groups/home/web/awstats/index.html
Also, I do not understand your instruction "After the $ just complete with
.html."
Thanks for your help!