So I want to capture a specific domain name that will go through the Squid proxy, and instead of going to the real domain on the internet, redirect it to a little text file somewhere on the proxy server.
So far, so good, right? Well, no. Does squid have a function for doing something like that? The closest I've got is replacing the error pages with the contents of the text file I wanted to redirect to, but even then squid appends some "generated %date% by %hostname% (squid)" line at the bottom with HTML that I simply have no idea where to turn off (the squid.conf file is a cesspool, the authors have never heard of a manpage I'm sure).
So I've just come here to ask how to keep it simple - I'm pretty sure a proxy as full featured as squid has a redirect to a different file option, or at least an option to turn of the HTML line at the bottom of an error page. What are these options?
EDIT: Or is there another lighter proxy server that can do the same thing?
