LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Justin Viiret <justin@cyburbia.net.au>
  To  : Nick Morrison <nickm@ior.org.au>
  Date: Wed, 30 Jun 1999 11:37:22 +0930

Re: Banner adverts cont.

Hi!
On Wed, Jun 30, 1999 at 10:19:24AM +0930, Nick Morrison wrote:

> I've made these changes, and squid still manages to find places like
> www.microsoft.com that I've added as 127.0.0.1 in my /etc/hosts file.  Does
> squid cache DNS searches?  I've restarted squid, in this hope..  but no
> avail.

If you're using Squid, a more elegant solution is to use a redirector, like
Chris Foote's squirm, or just a custom little perl script to handle
redirecting URLs. Then just add some rules to redirect images at
ads.domain.com to 1x1 transparent images, or something. I think, from memory,
that squirm has some example rules for this, or one of the other available
redirectors does. Have a look at the squid related software page on
http://squid.nlanr.net/.

--
justin viiret <justin@cyburbia.net.au>           phone: +61 8 8379 2492
cyburbia network services - web tech             mobile: 0412 222 585
http://userweb.cyburbia.net.au/~justin/          adelaide, australia

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page