Package: webalizer
Version: 2.01.10-32.6
Severity: normal

The sample configuration for webalizer doesn't group Google referrals and
doesn't have a SearchEngine line for each Google domain.

For my own configuration I've moved the main webalizer.conf file to
/etc/webalizer/webalizer.conf.base and put the following in a Makefile
to generate the file that is really used:

webalizer.conf: webalizer.conf.base google-domains.txt Makefile
        cp webalizer.conf.base webalizer.conf
        for n in `cat google-domains.txt`  ; do ( echo HideReferrer 
www.$$n/search ; echo HideReferrer www.$$n/url ; echo HideReferrer 
images.$$n/imgres ; echo HideReferrer blogsearch.$$n/ ; echo GroupReferrer 
www.$$n/search Google Search ; echo GroupReferrer www.$$n/url Google Search ; 
echo GroupReferrer images.$$n/imgres Google Image Search ; echo GroupReferrer 
blogsearch.$$n/ Google Blogsearch ; echo SearchEngine $$n q= ) >> 
webalizer.conf ; done

The google-domains.txt file has the following contents, note that I am not sure
that I have the complete list and I have not confirmed that every Google domain
is actually owned by Google (there is a possibility that one of them is a
squatted domain).  But for the purposes of producing reliable webalizer output
this list is good enough.  For my use it means that instead of having 30 Google
domains blocking all the other entries from my Referrer list I have three
Google entries for regular search, images search, and blog search.  I'm sure
that there are other possibilities and I think that adding entries for video
search etc would be a good idea (but I don't have test data).

google.com
google.com.au
google.pt
google.cl
google.co.ve
google.ee
google.com.eg
google.com.by
google.com.om
google.com.pe
google.co.uk
google.co.il
google.de
google.co.in
google.fr
google.ca
google.it
google.com.tr
google.nl
google.bg
google.com.br
google.com.ar
google.com.hk
google.pl
google.lk
google.ru
google.es
google.se
google.co.nz
google.ch
google.hu
google.fi
google.ro
google.com.my
google.be
google.co.za
google.gr
google.at
google.com.ph
google.no
google.cz
google.cn
google.com.sg
google.ie
google.co.jp
google.co.id
google.com.mx
google.co.th
google.com.pk
google.com.ua
google.dk
google.co.kr
google.com.tw
google.lt
google.si
google.hr
google.sk
google.ae



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to