# parses most of the files in the Go-oo tree # (don't know if everything makes sense, but it's a start...) # ignore all requests that come with query string StatsIgnoreMask ".*\?.*" # # ignore files with these endings, with or without .metalink StatsIgnoreMask "^.*\.(md5|xml|xml\.gz)(\.metalink)?$" # strip prefixed protocol (normally only sent to proxies, but can occur in the wild) # (the filter is applied to the requested url.) StatsPrefilter "^http://[^/]+/" "" # remove duplicated slashes StatsPrefilter "/+" "/" # strip leading base path StatsPrefilter "^/" "" # strip appended .metalink suffix StatsPrefilter "\.metalink$" "" # stable/linux-x86_64/3.1/ooobasis3.1-pt-impress-3.1.0-9399.x86_64.rpm # stable/linux-x86/3.1/openoffice.org3-calc-3.1.0-9399.i586.rpm # stable/linux-i586/3.1.1/openoffice.org3-ru-3.1.1-9420.i586.rpm # stable/win32/3.1.1/GoOo-langpack-brx-3.1.1-5.exe StatsCount "^stable/([^/]+)/([^/]+)/(openoffice.org3|ooobasis3.1-pt-impress|OpenOffice.org-langpack|openoffice.org3|GoOo-langpack)-(?P([a-zA-Z]{2}(-[a-zA-Z]{2})?|binfilter|core|l10n|extensions|system|testautomation|brx|dgo|kok|mai|mni|sat))-\2(-[0-9]+)?\.(exe|rpm|dmg)$" "prod: \3 os: \1 version: \2 lang: \g" # stable/mac/3.1.1/OpenOffice.org-langpack-3.1.1_ga.dmg # stable/mac/3.1.1/OpenOffice.org-langpack-3.1.1_mn.dmg # stable/mac /3.1.1 /OpenOffice.org-langpack -3.1.1_mn.dmg # stable/mac /3.1 /OpenOffice.org-langpack -3.1.0_as-IN.dmg - StatsCount "^stable/([^/]+)/([^/]+)/(OpenOffice.org-langpack)-\2\.?0?_(.*)\.(exe|rpm|dmg)$" "prod: \3 os: \1 version: \2 lang: \4" # stable/mac/3.1/OOo_3.1.0_090527_MacOSXIntel_install.dmg - # stable/mac/3.1/OOo_3.1.0_rc6_MacOSXIntel_install.dmg - StatsCount "^stable/([^/]+)/([^/]+)/(OOo)_.*MacOSXIntel_install\.dmg$" "prod: \3 os: \1 version: \2 lang: all" # stable/win32/3.1.1/GoOo-3.1.1-5.exe # stable/win32/3.1/GoOo-3.1-10.exe StatsCount "^stable/([^/]+)/([^/]+)/(GoOo)-\2(-[0-9]+)?\.exe$" "prod: \3 os: \1 version: \2 lang: all" # stable/linux-x86_64/3.1/ooobasis3.1-mr-IN-base-3.1.0-9399.x86_64.rpm # stable/linux-x86_64/3.1.1/ooobasis3.1-ru-base-3.1.1-9420.x86_64.rpm # stable/linux-x86/3.1/ooobasis3.1-bn-base-3.1.0-9399.i586.rpm StatsCount "^stable/([^/]+)/([^/]+)/(ooobasis|ooobasis3.1|openoffice.org3)-(.*)-base-\2(?:\.0)?-[0-9]+\.(x86_64|i586)\.rpm" "prod: \3 os: \1 version: \2 lang: \4" # stable/linux-x86_64/3.1.1/openoffice.org3-base-3.1.1-9420.x86_64.rpm # stable/linux-x86_64/3.1/openoffice.org3-base-3.1.0-9399.x86_64.rpm # stable/linux-i586/3.1.1/openoffice.org3-base-3.1.1-9420.i586.rpm # stable/linux-i586/3.1.1/ooobasis3.1-base-3.1.1-9420.i586.rpm StatsCount "^stable/([^/]+)/([^/]+)/(ooobasis|ooobasis3.1|openoffice.org3)-base-\2(?:\.0)?-[0-9]+\.(x86_64|i586)\.rpm" "prod: \3 os: \1 version: \2 lang: all" # stable/linux-i586/3.1.1/openoffice.org3-3.1.1-9420.i586.rpm - # stable/linux-x86/3.1.1/openoffice.org3-3.1.1-9420.i586.rpm - # stable/linux-x86_64/3.1.1/openoffice.org3-3.1.1-9420.x86_64.rpm - StatsCount "^stable/([^/]+)/([^/]+)/(openoffice.org3)-\2(-[0-9]+)?\.(i586|x86_64)\.rpm$" "prod: \3 os: \1 version: \2 lang: all" # vim: ft=apache ai ts=4 sw=4 smarttab expandtab smarttab