Awstats

Grandmaster

Electronica Addict
Political Access
Joined
3 Feb 2002
Messages
10,574
Is there a way to display the number of hits I'm recieving to site visitors? To check the hits myself I have to login to Cpanel.
 
It's most likely that it is possible. however the data isn't stored in a static file
bash-2.05a$ ls -pla
total 136
drwx------ 2 speedyb speedyb 4096 Jan 16 20:33 ./
drwx------ 6 speedyb speedyb 4096 Dec 10 17:19 ../
-rw-r--r-- 1 speedyb speedyb 37925 Jan 16 20:33 awstats012004.speedyb.complexero.com.txt
-rw-r--r-- 1 speedyb speedyb 32786 Jan 1 19:11 awstats122003.speedyb.complexero.com.txt
-rw-r--r-- 1 speedyb speedyb 23749 Jan 16 20:32 awstats.speedyb.complexero.com.conf
-rw-r--r-- 1 speedyb speedyb 25777 Jan 16 20:33 dnscachelastupdate.speedyb.complexero.com.txt
bash-2.05a$
note the two files with dates in the filenames. that's where the info is stored (and there's a lot of it!) there may be some way to get AWstats to write a seperate file when it runs, but then the hits would only be updated when the cron job runs.

I think the easiest way is to just use a separate counter for public use.
 
Thanks SPeedY_B. I think I'll just stick to no public counter for now. :)
 
Uhm, really easy, go grab yourself a copy of awstats, and create a config file which accesses those files in the special folder.

Awstats doesnt generate on the fly, but gets generated how often your hosts has it set, normally it redoes all stats every day, but most hosts set that at every quarter of a day.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back