[AWFFULL] MangleReferrers feature patch for 3.10.2
Anthony J. Biacco
abiacco at formatdynamics.com
Sat Aug 1 05:00:55 EST 2009
This is a patch to AWFFull 3.10.2 to enable the mangling of referrer URLs.
I created it because the bulk of my incremental file each month consists of tons of unique referrers. I wanted to generalize these for counting, memory usage due to the size of the incremental file and processing speed.
I haven't tested it thoroughly, but give it a go if it interests you.
Here's the description from the sample.conf:
# The MangleReferrers allows you to specify how much, if any, AWFFull
# should mangle referrers. This allows several levels of detail
# to be produced when reporting referrer statistics.
# The default Level 0 displays the
# full referrer field without modification and produces the greatest
# amount of detail.
# Level 1 will only show the host/domain name.
# Level 2 will show the first path
# Level 3 will show the first two paths
# and so on.
# Example:
# Original Referrer: http://domain.com/path1/path2/path3/path4.html
# Mangled Referrer w/Level 1: http://domain.com
# Mangled Referrer w/Level 2: http://domain.com/path1
# Mangled Referrer w/Level 3: http://domain.com/path1/path2
# Mangled Referrer w/Level 4: http://domain.com/path1/path2/path3
# Mangled Referrer w/Level 5: http://domain.com/path1/path2/path3/path4.html
#MangleReferrers 0
-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco at formatdynamics.com
http://www.formatdynamics.com
> -----Original Message-----
> From: awffull-bounces at stedee.id.au [mailto:awffull-
> bounces at stedee.id.au] On Behalf Of Steve McInerney
> Sent: Tuesday, January 06, 2009 2:25 AM
> To: awffull at stedee.id.au
> Subject: [AWFFULL] Two minor fixes to 3.10.2
>
> One is some debug code left in. Mildly irritating :-)
> The 2nd is a bit more serious: will cause - via my testing very slight
> ~0.6% -
> over counting of referral search strings. ie from Google etc.
>
> Was tempted to shove this out as 3.10.3, but for such a trivial patch,
> hardly
> seems worth the hassle. :-)
> Esp as the 2nd was _the_ blocker on finalising 3.11.1.
>
>
> Enjoy!
> - Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 073109-awffull-3.10.2.feature-mangle_referrers.patch
Type: application/octet-stream
Size: 11209 bytes
Desc: 073109-awffull-3.10.2.feature-mangle_referrers.patch
Url : http://www.stedee.id.au/pipermail/awffull/attachments/20090731/dde7c623/attachment.obj
More information about the AWFFull
mailing list