Banner killer by 'squid redirector', version 1.0.2 -------------------------------------------------- $Id$ For this software you need the following packages: * squid * apache * perl * m4 * netpbm (pbmtext, pnmcrop, pnmmargin, pnminvert, ppmtogif) I will use /usr/local/squid/ path in the following text, please update it according to your installation (is is also specified in "redirector" script!). To install this package: * Specify the redirector for squid in its "/usr/local/squid/etc/squid.conf": --------------------------------- CUT HERE --------------------------------- # TAG: redirect_program # Specify the location of the executable for the URL redirector. # Since they can perform almost any function there isn't one included. # See the Release-Notes for information on how to write one. # By default, a redirector is not used. # redirect_program /usr/local/squid/etc/redirector --------------------------------- CUT HERE --------------------------------- * move/copy "redirector" script and "ad" directory to "/usr/local/squid/etc/". * move/copy "redirector-ad.cgi" script to "/var/www/cgi-bin", "/usr/local/httpd/cgi-bin" or similiar (according to your installation). Simply - the following URL must access this script correctly: http://localhost/cgi-bin/redirector-ad.cgi And everything should be OK, just restart your squid, please. Sometimes some banner may miss through the regex rules, just update your "/usr/local/squid/etc/db/main" file and the ALWAYS restart squid (if you are running it by "RunCache" script, just type "killall squid"). Author ------ These scripts use some databases of other banner killers - please see "ad/main" file for its URL references. Files "ad/main", "redirector", "redirector-ad.cgi" and "README" are considered public domain. Their original author is: Name: Jan Kratochvil Homepage: http://atrey.karlin.mff.cuni.cz/~short/ e-Mail: short@ucw.cz Phone: +420602431329 or +420603431329 or +420608020202