asqredir is a small, fast, and simple redirect plugin for the
squid webcache, written in C. It can be used for filtering out
advertisements from Web sites or preventing proxy users from
getting certain files by redirecting them to another URL. The
to-be-matched URL patterns are kept in a file and are read into
memory on startup. Because asqredir is based on URL pattern
matching, it can be used for many different kinds of blocking.