On Tue, 26 Oct 2004 04:10 pm, [EMAIL PROTECTED] wrote: > Hi everyone, > > I am running Squid 2.5STABLE5 and trying to block a few of the more > prominent web advertisements that chew bandwidth. The way I have tried > to set this up is with i) two acls to match advert objects - one a > dstdomain and one a url_regex ii) a short perl redirector which > redirects requests for these ad objects to a 1x1 transparent gif hosted > on a local server.
Seems you're reinventing the wheel. Why not use an off-the-shelf-redirector called "BannerFilter"? We've been using it quite effectively for nearly 2 years without any problems at all. Check it out: http://www.phroggy.com/bannerfilter/ Cheers, James
