How to extend the capability of AWStats.
Recently, Microsoft released bing search engine. Bing did not show up in the AWStats report under Links from an External Search Engine section. It was under Links from an external page (other web sites except search engines). Here is how to change that.
'bing\.com',I added it as the first line under the comment Major international search engines
'bing\.com','bing',I added it as the first line.
'bing','q=',I added it as the first line.
'bing','<a href="http://www.bing.com/" title="Search Engine Home Page [new window]" target="_blank">Bing</a>',I added it as the first line.
If you want to remove image files from your awstats reports, modify the SkipFiles variable in the /etc/awstats/awstats.conf (or awstats.YOURHOST.conf)
Do a search for “SkipFiles” in the file using nano/vi/emacs and find the section that talks about “Use SkipFiles to ignore access to URLs that match one of the following entries…” The SkipFiles line should look similar to the following:
SkipFiles="REGEX[.jpg$] REGEX[.gif$] REGEX[.png$]”