Re: Filtering out ads using squid

From: Bertrand Petit <elrond@dont-contact.us>
Date: Thu, 29 Apr 1999 16:37:46 +0200

On Thu, Apr 29, 1999 at 06:22:09PM +1000, Filip Radlinski wrote:
> Hi.
>
> I'm have been using squid to block out ads without printing a "broken
> picture" on the screen on my home internet connection. In squid v1.1, I
> used the lines:
>
> http_access deny ads
> deny_info http://192.168.123.222/blank.gif ads
>
> "ads" is an acl. It replaced all ads with my blank 1x1 gif, and it worked
> great.

        This job is better done with a redirector. I wrote one with a
set of some hairy regexp especially designed to block some ads.

>
> In the new version of squid (version 1.2 Patch 2), I changed the second
> line to:

        You should upgrade to 2.1 PATCH 3 or 2.2 STABLE.

-- 
%!PS Il n'y a pas de mauvaises reponses, il n'y a que de mauvaises questions
/B{bind def}def/m{moveto}B/d{dup}B/s{gsave}B/r{grestore}B/S{stroke}B/P{false 
charpath}B/G{setgray}B/W{setlinewidth}B/z{0 G 1 W}B/Times-Roman findfont 120 
scalefont setfont 60 10 m 56 rotate(elrond@netdev.net)d d s z 40 40 rmoveto
P S r s 0.5 G .5 W P flattenpath{newpath m 40 40 rlineto S}d{}{}pathforall 
r s z P S r 400 120 m (Bertrand) show 400 -160 m (Petit) show showpage
Received on Thu Apr 29 1999 - 08:43:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:01 MST