AWStats: Single MediaWiki request shows as 5 pages in stats

From FVue
Jump to: navigation, search

Problem

When a single MediaWiki page is requested, the HTTP requests underneath are logged by Apache. The bold lines indicate the HTTP requests which AWStats sees as a page request:

123.123.123.123 - - [] "GET /wiki/index.php/Bash:_Windows_&_Bash HTTP/1.1" 200 7494 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /favicon.ico HTTP/1.1" 200 1406 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/skins/monobook/main.css?7 HTTP/1.1" 200 23418 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/skins/common/commonPrint.css HTTP/1.1" 200 5251 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/skins/common/wikibits.js HTTP/1.1" 200 21397 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/index.php?title=-&action=raw&gen=js HTTP/1.1" 200 1112 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/index.php?title=MediaWiki:Monobook.css&action=raw&ctype=text/css&smaxage=18000 HTTP/1.1" 200 98 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=18000 HTTP/1.1" 200 56 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/index.php?title=-&action=raw&gen=css&maxage=18000 HTTP/1.1" 200 110 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/skins/monobook/headbg.jpg HTTP/1.1" 200 7881 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/skins/monobook/external.png HTTP/1.1" 200 165 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [] "GET /wiki/skins/common/images/poweredby_mediawiki_88x31.png HTTP/1.1" 200 1933 "" "Firefox/1.5.0.4"
123.123.123.123 - - [06/Jul/2006:22:04:52 +0200] "GET /wiki/skins/monobook/bullet.gif HTTP/1.1" 200 50 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [06/Jul/2006:22:04:52 +0200] "GET /wiki/skins/monobook/user.gif HTTP/1.1" 200 932 "-" "Firefox/1.5.0.4"
123.123.123.123 - - [06/Jul/2006:22:04:52 +0200] "GET /wiki/skins/common/images/adbow.jpg HTTP/1.1" 200 3095 "-" "Firefox/1.5.0.4"

How can I tell AWStats to ignore the subsequent 4 requests, since they are not really page requests as I would like to see them in the statistics?

Solution

Specify SkipFiles in the configuration file:

SkipFiles="REGEX[^/wiki/index.php\?title=.*?&action=raw]"
WARNING: Google AdSense Unit ID "" does not exist.
Available Unit IDs: C01, C02, C03, C04, C05, C06, C07, C08, C09, C10, S01, S02, V01, V02, V03.
Example: <google uid="C01"></google>, <google uid="C01" position="left" ></google>

Comments

blog comments powered by Disqus