GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is it possible to reset awstats 404 statistics ? (https://gfy.com/showthread.php?t=480307)

div3x 06-13-2005 12:13 PM

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 06-13-2005 12:27 PM

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

AgentCash 06-13-2005 12:42 PM

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.

div3x 06-13-2005 01:31 PM

Quote:

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.


:thumbsup :thumbsup :thumbsup
Thanks a lot, going to test it out !


All times are GMT -7. The time now is 09:53 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123