Jordi Prats wrote:
Hi all,
I've a transparent proxy using iptables+squid. It's possible to
instruct squid to proxy only if the URL does not contain a given
string?
For example, if you try to access to
http://lol.example.com/ALLOWEDSTRING/page.html through squid, it
should allow direct access.
Anyone have a setup like this?
Once the request has reached Squid its impossible to stop it reaching Squid.
What you need is a WPAD/PAC setup for clients browsers.
Though there is really no good reason why you can't just proxy straight
through for all HTTP requests. The limit usually comes down to broken
web server apps.
Amos
--
Please use Squid 2.7.STABLE3 or 3.0.STABLE8