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.
 

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,806
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.
 

Grandmaster

Electronica Addict
Political Access
Joined
3 Feb 2002
Messages
10,574
Thanks SPeedY_B. I think I'll just stick to no public counter for now. :)
 

X-Istence

*
Political Access
Joined
5 Dec 2001
Messages
6,498
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

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.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,007
Messages
673,466
Members
5,598
Latest member
Larry Chris