[Bug 332132] Re: For any SquidGuard ACL, only the last URL rewrite rule applies correctly

Greg Padberg greg.padberg at sunwestsd.ca
Fri Aug 7 20:55:41 UTC 2009


Never mind, the same behaviour happens after updating to squid3 (from
repo) and squidGuard 1.4 (from PPA).  It seems the documentation is
rather sparse for squidGuard.conf where rewrite rules and acls are
concerned.

What Doesn't Work:  stacking rewrite rules within an acl, multiple
rewrite statements within an acl, e.g.:

#example1
acl {
default {
pass any
# only the last rewrite statement takes effect within the acl!
rewrite testing
rewrite defaultrules
        }
}

#example2
acl {
default {
pass any
# cannot stack rewrite rules within an acl either!
rewrite testing safegoogle safebing defaultrules
        }
}


What Works:  rewrite rule group declarations

#example3
rew defaultrules { 
substitution
substitution
...
[logging]
} 
acl {
default {
pass any
rewrite defaultrules
        }
}

I think the documentation needs to be expanded for squidguard.conf to
include more information about how the url rewrite rules apply
correctly.

-- 
For any SquidGuard ACL, only the last URL rewrite rule applies correctly
https://bugs.launchpad.net/bugs/332132
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list