Could the problem be due to the way IIS records it's log files. Notice there is a single space between the filename (index.php) and the query (cat=111). It also doesn't contain the ?. If the OnlyFiles attribute only looks at the %url variable and not the %query variable then this could be the issue.
I made a few more tests here. I believe that you are right. It seems that AWStats only looks at the %url parameter. This is not what it is supposed to do as the documentation states that the checks "apply on URL with all its query parameters". It works correctly with Apache log files, but Apache does not split the URL and the query as IIS does.
Our site uses query parameters in the URL to display specific pages such as:
http://www.manaonline.org/index.php?cat=15
http://www.manaonline.org/?cat=15
http://www.manaonline.org/index.php?cat=111
http://www.manaonline.org/?cat=111
I want to run awstats to only report on URLs that contain the ?cat=111 query. I've tried using the following settings with no luck:
URLQuerySeparators="?;"
URLWithQuery=1
OnlyFiles="?cat=111"
Here is a line from our raw log files (IIS 5.0):
2009-08-01 12:13:47 65.55.25.136 - 206.135.15.24 GET /index.php cat=111 200 20423 280 500 HTTP/1.1 www.manaonline.org msnbot/1.1+(+http://search.msn.com/msnbot.htm) - -
My LogFormat is:
LogFormat = "%time2 %host %logname %other %method %url %query %code %bytesd %other %other %other %other %ua %other %referer"
Can this be done using AWstats 6.9 (build 1.925)? If so, can someone help me correcting set this up?
You can try these workarounds:
Jean-Luc
http://www.internetofficer.com/awstats/
Hi,
You have to correct OnlyFiles.
Try this :
OnlyFiles="REGEX[\?cat=111]"
Jean-Luc
http://www.internetofficer.com/awstats/
That didn't work unfortunately.
Could the problem be due to the way IIS records it's log files. Notice there is a single space between the filename (index.php) and the query (cat=111). It also doesn't contain the ?. If the OnlyFiles attribute only looks at the %url variable and not the %query variable then this could be the issue.
2009-08-01 12:13:47 65.55.25.136 - 206.135.15.24 GET /index.php cat=111 200 20423 280 500 HTTP/1.1 http://www.manaonline.org msnbot/1.1+(+http://search.msn.com/msnbot.htm) - -
Hi,
I made a few more tests here. I believe that you are right. It seems that AWStats only looks at the %url parameter. This is not what it is supposed to do as the documentation states that the checks "apply on URL with all its query parameters". It works correctly with Apache log files, but Apache does not split the URL and the query as IIS does.
Jean-Luc
http://www.internetofficer.com/awstats/
Do you have an example of "extra section with the QUERY_STRING
parameter"?
Yes, OnlyFiles= does not work with my IIS logs and I have to report on the
hosts who accessed a particular file.
Thanks.
does anyone know of a stats program that will do this for IIS logs?
thanks
www.coachoutletonlinemd.org/ coach outlet coach outlet online coach factory outlet online
www.louisvuittonhandbagsoutlete.net/ Louis Vuitton Handbags Outlet Louis Vuitton Handbags Louis Vuitton Purses
www.getscoachfactorysoutlet.com/ Coach Factory Outlet Coach Factory Coach Factory Online
www.gotocoachsoutlets.org/ coach outlet Online
www.louisvuittonoutletmake.com louis vuitton outlet
http://www.coachoutletpursesr.net/ coach purses
http://www.coachfactorybagsc.org/ coach factory outlet
http://www.coachfactorystoresr.net/ coach outlet online
http://www.coachoutletstoreonline8u.com/ coach outlet
http://www.ltwco.com/ coach outlet
http://www.outletsonlinemall.com/ coach outlet online
http://www.bagsoutletfan.org/ coach outlet
http://www.teoutlet.com/ coach outlet
http://www.coupon2014.net/ coach outlet