Well kvetch no longer: if you run an Apache webserver version 1.2.4, you can nuke unwanted ads by modifying the functioning of the mod_proxy module. In my household, I run mod_proxy to eliminate redundant network loads across our tiny 28.8 line: by modifying mod_proxy I now remove all ads too.
I defined a new directive for httpd.conf ProxyIgnore. ProxyIgnore takes one string argument which denotes an unwanted substring. There may be an unlimited number of ProxyIgnore lines. If any of the ProxyIgnore substrings are found in any requested URL, that URL is aborted (proxy_error). For example:
ProxyIgnore /adv/ ProxyIgnore /ad/ ProxyIgnore /ads/ ProxyIgnore /Ads/Apache already had the ability to remove some ads with the ProxyBlock directive. For instance:
ProxyBlock ad.doubleclick.net
Download patches proxy_0.5.tar.gz.