To ignore some files/folders from awstats reports
by Rekha[ Edit ] 2009-12-09 14:10:41
Awstats will consider as a page hit any entry from the log it processes. By default some file extensions (for regular image types and css/js) are excluded from what awstats will consider as a page:
NotPageList="css js class gif jpg jpeg png bmp ico"(this is the default).
All other file types will be counted as pages. Now, if we want to completely ignore some files, or even all the content of one folder from the awstats processing we can use the SkipFiles parameter. We might want to do this to ignore some frames, hidden pages, ajax calls, etc.
The SkipFiles parameter is by default empty, and in order to use it we have to add the appropriate config in our awstats.conf file. For example to ignore a file called somefile.php we will add "/somefile.php":
SkipFiles="/somefile.php"