summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@luxion>2006-12-28 14:34:14 +0000
committerdakkar <dakkar@luxion>2006-12-28 14:34:14 +0000
commitf3f10eb5190143db7fa0a1df0ec6c66c8128f126 (patch)
treeda311d65feb9efff3970b3144eaf0a45dff32bb2
parentupdate squid_redirect (diff)
downloadmyProxy-f3f10eb5190143db7fa0a1df0ec6c66c8128f126.tar.gz
myProxy-f3f10eb5190143db7fa0a1df0ec6c66c8128f126.tar.bz2
myProxy-f3f10eb5190143db7fa0a1df0ec6c66c8128f126.zip
corretto il counter js
git-svn-id: svn://luxion/repos/myProxy/trunk@238 fcb26f47-9200-0410-b104-b98ab5b095f3
-rwxr-xr-xMyProxy.pl3
-rw-r--r--adzap/scripts/prematch.list2
2 files changed, 4 insertions, 1 deletions
diff --git a/MyProxy.pl b/MyProxy.pl
index 1251057..f7af9fb 100755
--- a/MyProxy.pl
+++ b/MyProxy.pl
@@ -166,6 +166,9 @@ sub doFilter {
for (@PATTERNS) {
my ($pat,$sub,@rest)=@$_;
if ($uri=~/$pat/) {
+ if ($doFilterLogger->is_debug()) {
+ $doFilterLogger->debug("$uri matched $pat");
+ }
$self->proxy->stash('url_matches',[$1,$2,$3,$4,$5,$6,$7,$8,$9]);
$self->proxy->stash('pre_match',substr($uri,0,$-[0]));
$self->proxy->stash('full_match',substr($uri,$-[0],$+[0]-$-[0]));
diff --git a/adzap/scripts/prematch.list b/adzap/scripts/prematch.list
index 68c5eee..89c3115 100644
--- a/adzap/scripts/prematch.list
+++ b/adzap/scripts/prematch.list
@@ -6,4 +6,4 @@ PRINT http://(www*.|)gamegirladvance.com/(archives/20[0-9][0-9]/[0-9][0-9]/[0-9]
PRINT http://(www*.|)wired.com/wired/archive/([^p]**)(?<!_pr).html** http://www.wired.com/wired/archive/${2}_pr.html
PRINT http://(www*.|)wired.com/news/[^p]*/0,*,(*),00.html** http://www.wired.com/news/print/0,1294,$2,00.html
PRINT (http://*.boston.com/**/articles/[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]/*/)(|?)** $1?mode=PF
-COUNTERJS http://*/counter?**\.js
+COUNTERJS http://*/**counter**.js