Awstats

Discussion in 'Web Design & Coding' started by Grandmaster, Jan 17, 2004.

  1. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    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.
     
  2. SPeedY_B

    SPeedY_B I may actually be insane.

    Messages:
    15,800
    Location:
    Midlands, England
    It's most likely that it is possible. however the data isn't stored in a static file
    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.
     
  3. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    Thanks SPeedY_B. I think I'll just stick to no public counter for now. :)
     
  4. X-Istence

    X-Istence * Political User

    Messages:
    6,498
    Location:
    USA
    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.
     
  5. Grandmaster

    Grandmaster Electronica Addict Political User Folding Team

    Messages:
    10,574
    Location:
    Santa Clara, CA
    Can you elaborate on that? :p