Skip on down to the menu.
redir.pl -- The Squid Proxy Redirector
What is it?
This simple script will read one or more blacklist and/or whitelist of domain names and use that data to direct the Squid proxy server to deny/accept a requested resource based on whether the domain name is in a blacklist/whitelist.
Why did I write this? Are there not methods already built into Squid to do this?
Yes, Squid can do some of this out of the box, but it is really slow. This method is quite fast as well as very flexible since you can modify it yourself to meet your own needs.
More details are available in the source comments.
The Code
[an error occurred while processing this directive]