-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 24 Mar 2007 15:35:50 +0530 "Siddhesh PaiRaikar" <siddhesh.pairaikar@xxxxxxxxx> wrote: > hi > > i would like to know what is the best way to block advertisements on any > site using squid.... Hi Siddhesh, Why don't you try Ad Zapper? See: http://adzapper.sourceforge.net/ Or have a look at the softwares listed on squid-cache.org. http://www.squid-cache.org/related-software.html Hope it might help you! > > > > i found a few things on the net wchich suggest the use of an acl stored in a > file in /etc and then denying the acl but not of much use... > > this was the acl definition > > acl ads dstdomain "/etc/squid.adservers" > > and the http_access definition > > http_access deny ads > > is there anything else that can be done ? > > also another way was to add the domains to a the file /etc/hosts with the > address 127.0.0.1 which apparently makes the browser think that the domains > reside on the host machine and hence is much faster when they are blocked... > > > is there any way to do this in squid .... if yes.. please put some light on > that > > thanks... > > -- > - Siddhesh > - -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFGBi3iVrOl+eVhOvYRArIKAJ9lqT6zI0NTDitIkGOKrXiv67XMzgCeNrcv O4cx2ttLK1sfjWKqgznfVdE= =i1vz -----END PGP SIGNATURE-----