Is it possible to reset awstats 404 statistics ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • div3x
    Confirmed User
    • Jun 2003
    • 491

    #1

    Is it possible to reset awstats 404 statistics ?

    just curious cause it would be very helpfull if it was possible to reset them and verify if there are still any errors after today's day ... the old errors in stats origin confusion ! :/
  • Thurbs
    The Thrilla in Manila
    • Sep 2004
    • 4785

    #2
    should be controled in the DB it uses ....

    Comment

    • AgentCash
      Confirmed User
      • Feb 2002
      • 720

      #3
      find the text file where awstats stores it's info.
      for example, mine is located in
      /usr/local/awstats/wwwroot/cgi-bin/
      and called awstats062005.domain.txt

      open that file and search for
      BEGIN_SIDER_404

      there will be the urls that were 404 between it and
      END_SIDER_404

      delete them. Then search for
      BEGIN_ERRORS

      look for the line starting with 404 between it and
      END_ERRORS

      delete that line and rerun awstats... you may need to copy the .txt file over the .bak file as well, not sure haven't tested it.

      Comment

      • div3x
        Confirmed User
        • Jun 2003
        • 491

        #4
        Originally posted by AgentCash
        find the text file where awstats stores it's info.
        for example, mine is located in
        /usr/local/awstats/wwwroot/cgi-bin/
        and called awstats062005.domain.txt

        open that file and search for
        BEGIN_SIDER_404

        there will be the urls that were 404 between it and
        END_SIDER_404

        delete them. Then search for
        BEGIN_ERRORS

        look for the line starting with 404 between it and
        END_ERRORS

        delete that line and rerun awstats... you may need to copy the .txt file over the .bak file as well, not sure haven't tested it.


        Thanks a lot, going to test it out !

        Comment

        Working...