This is a discussion on Adding specific sites to AWSTATS within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi folks, I'm using Windows 2000 Server, Cold Fusion MX, and Apache 2 webserver, and AWSTATS does a perfect ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi folks,
I'm using Windows 2000 Server, Cold Fusion MX, and Apache 2 webserver, and AWSTATS does a perfect job of giving me my server stats. The only thing that gets requested of me from Marketing is they want specific page hit counts from time to time. I generally have to import the access.log file into MS Access and run a quick query to get the numbers they need. Is there anyway to add these pages to AWSTATS so there's another section showing the total hits of specific pages? These hits aren't in any top nth, so they don't show-up. I checked the AWSTATS documentation, and either I'm missing it, or this isn't a feature. Another option was to create my queries in MS Access and just create a website to publish the query results... but this would require me to import the access.log file into MS Access periodically, and I wanted them to have live data. I also thought of setting-up access.log as a DSN and querying directly from this file, but Windows wants a .txt file... it won't accept a .log file. If anyone has suggestions either with AWSTATS or another way, please let me know. Thanks for any suggestions or comments. Keegan. |
|
|||
|
I have had to do this at a previous company I worked for,
The easiest way was to have a small piece of ASP in an include file and at the top of each page include it and pass in parameters (pagename, sitename etc) where the ASP opens an SQL or Access database and increments the hit count - and even store the IP of the hitter. (if the DB is designed right.) Mike. "Keegan Alex" <keeganalex@yahoo.com> wrote in message news:d815f41a.0306241201.3f5bf79c@posting.google.c om... > Hi folks, > > I'm using Windows 2000 Server, Cold Fusion MX, and Apache 2 webserver, > and AWSTATS does a perfect job of giving me my server stats. The only > thing that gets requested of me from Marketing is they want specific > page hit counts from time to time. I generally have to import the > access.log file into MS Access and run a quick query to get the > numbers they need. > > Is there anyway to add these pages to AWSTATS so there's another > section showing the total hits of specific pages? These hits aren't > in any top nth, so they don't show-up. I checked the AWSTATS > documentation, and either I'm missing it, or this isn't a feature. > > Another option was to create my queries in MS Access and just create a > website to publish the query results... but this would require me to > import the access.log file into MS Access periodically, and I wanted > them to have live data. I also thought of setting-up access.log as a > DSN and querying directly from this file, but Windows wants a .txt > file... it won't accept a .log file. > > If anyone has suggestions either with AWSTATS or another way, please > let me know. Thanks for any suggestions or comments. > > Keegan. |
| Thread Tools | |
| Display Modes | |
|
|