Re: [squid-users] Add a prefix/suffix if a domain is not resolved?

From: Olivier Sannier <obones_at_free.fr>
Date: Mon, 17 Aug 2009 21:25:40 +0200

Henrik Nordstrom wrote:
> mån 2009-08-17 klockan 10:45 +0200 skrev Olivier Sannier:
>
>
>> // If specific URL needs to bypass proxy, send traffic direct.
>> if (shExpMatch(url,"*domain1.com*") ||
>> shExpMatch(url,"*domain2.com*"))
>> return "DIRECT";
>>
>
> I think you meant to use host there, not url...
Hum, yes, you are quite right, that would be safer indeed.
Received on Mon Aug 17 2009 - 19:25:57 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 18 2009 - 12:00:03 MDT