|
There was a app that I used a few years ago that worked with Classic logs. SurfStats? I think that was it. You need to decide if you want to count vists to your site as a whole, counts for each page, etc. One trick some do is make a 1x1 transparent image and place it on each page. If you want to know the count for each page, then you name it differently for each page. If you just want counts to your index (main page), then just put one there. Then counting requests for that image in your log file is pretty simple. Then again, most web admins now don't worry much about "hits" any more. They just say "we're getting a couple" or "we're getting a lot" just by looking at the logs. :) Brad www.bvstools.com On Thu, 22 Jan 2004 16:54:14 -0600 "Wills, Mike N. (TC)" <MNWills@xxxxxxxxxxxxxx> wrote: > This isn't quite the answer... But with awstats, it > appears like you can go > through just about any type of log. Unfortunately, it is > written in perl. > But if you copied that file to a *nix box and then ran > the awstats... You > can get a good log analyzer. If you want to see a sample > of the output check > here: > http://www.koldark.net/cgi-bin/awstats.pl?config=koldark.net > > > > Mike Wills > Lawson Programmer/Administrator > Taylor Development > Email: mnwills@xxxxxxxxxxxxxx > Direct Line: (507) 386-3187 > > -----Original Message----- > From: web400-bounces@xxxxxxxxxxxx > [mailto:web400-bounces@xxxxxxxxxxxx] On > Behalf Of meovino@xxxxxxxxxxxxxxxxx > Sent: Thursday, January 22, 2004 4:40 PM > To: Web Enabling the AS400 / iSeries > Subject: RE: [WEB400] visit counters > > > Jim, > > Since you're asking this question on WEB400, I assume > you're running your > site on an iSeries (either Apache based or Classic). An > easy way to do it > is to turn on server logging. Then use a program like > UltraEdit that will > count the occurrences of a string (in this case, the > address of the page) to > view your log files. > > Unfortunately, the log files (at least the classic log > files) are not in a > very friendly format for doing any serious analysis, so > we wrote a Net.Data > macro that writes HTTP request info to a physical file, > and we do an SSI > exec cgi include with it on every page for static pages. > For our dynamic > Net.Data stuff, we just call a function. > > Mike E. > > > > > > > > "Mark A. Manske" > > <mmanske@minter-w To: > "'Web Enabling the > AS400 / iSeries'" <web400@xxxxxxxxxxxx> > eisman.com> cc: > > Sent by: Subject: > RE: [WEB400] visit > counters > web400-bounces@mi > > drange.com > > > > > > 01/22/2004 03:50 > > PM > > Please respond to > > Web Enabling the > > AS400 / iSeries > > > > > > > > Jim, > > Yes - there are many options available, depending on how > your static page is > designed. > > > One example follows:sorry, frontpage code: > > <p align="right">You are visitor number <!--webbot > bot="HitCounter" > u-custom > i-digits="0" i-image="0" preview="<strong>[Hit > Counter]</strong>" i-resetvalue="10500" startspan > --><img > SRC="_vti_bin/fpcount.exe/?Page=Default.htm|Image=0" > ALT="Hit > Counter"><!--webbot bot="HitCounter" endspan > i-checksum="5865" --></p> > > > Another way to do this involves using web based counters, > basically you > embedd the code into your static web page, the site will > show you how, and > advise you in most cases for a link to their site or > their sponsors site. I > do not have any available right now, but search the web > for "hit counts/hit > counters" or the such, some are free, some are pay. > > You could also write your own cgi script on the server > (most servers will > support this) regardless of the language (ms, linux, > unix, os/400, or even > mac) > > HTH > > Mark > > -----Original Message----- > From: web400-bounces@xxxxxxxxxxxx > [mailto:web400-bounces@xxxxxxxxxxxx]On > Behalf Of Jim Franz > Sent: Thursday, January 22, 2004 1:43 PM > To: Web Enabling the AS400 / iSeries > Subject: [WEB400] visit counters > > > Is there a way to count visitors on a static page (html > only)? > Management wants to know. > jim > > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) > mailing list To post a > message email: WEB400@xxxxxxxxxxxx To subscribe, > unsubscribe, or change list > options, > visit: http://lists.midrange.com/mailman/listinfo/web400 > or email: WEB400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives at > http://archive.midrange.com/web400. > > > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) > mailing list To post a > message email: WEB400@xxxxxxxxxxxx To subscribe, > unsubscribe, or change list > options, > visit: http://lists.midrange.com/mailman/listinfo/web400 > or email: WEB400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives at > http://archive.midrange.com/web400. > > > > > > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) > mailing list To post a > message email: WEB400@xxxxxxxxxxxx To subscribe, > unsubscribe, or change list > options, > visit: http://lists.midrange.com/mailman/listinfo/web400 > or email: WEB400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives at > http://archive.midrange.com/web400. > _______________________________________________ > This is the Web Enabling the AS400 / iSeries (WEB400) > mailing list > To post a message email: WEB400@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/web400 > or email: WEB400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/web400. > Bradley V. Stone BVS.Tools www.bvstools.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.