[Eug-lug] Blocking ad servers via host redirection, apache, and you.

Alan euglug at thebucks.net
Thu Oct 11 10:06:23 PDT 2007


Folks,

So, I recently started redirecting know adservers to 127.0.0.1, which
speeds up web browsing tremendously on my older workstation.
However, I've noticed that in a lot of pages, you get these really ugly
embedded 404 frames, which is less than optimal.

I'm thinking the best way to  deal with this is to just stick a webserver
up, have it listen and serve out the same boring grey .gif for every
request.
I'm supposing that mod_something in apache can handle this.

However, it occurs to me that someone else may have already solved this
problem and being essentially lazy, I 'd like to use that one, but my
google-fu is not strong this morning, as nothing has come up.
Have any of you come across a solution to this vexing problem?

Of course, it would be nice to have the boring grey .gif automatically
match the background, and be the right size of the iframe. Maybe it could
be a transparent .png?

Is adblock_redirector_boring_grey_gif.pl out there already?

-ajb




More information about the EUGLUG mailing list