Re: [squid-users] regex domain list

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 17 Dec 2008 17:08:26 +1300

░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
> so it will not work ?

I said it depends on the regex config.

> acl domain-nakal url_regex -i "/etc/squid/domain-nakal.txt"

Aha, url_regex will match these:

.*avatars.*
.*photo.*
.*2o7.net.*

both anywhere in protocol, domain, path, and query parameters.

But thats not an external acl, which you asked about...

>
> and at "/etc/squid/domain-nakal.txt"
> avatars
> photo
> 2o7.net
>
> base concept it to listing *avatars* ( include *.avatar.* avatar.*.*
> *.*/avatars etc etc ) to that acl
>
>
> On Wed, Dec 17, 2008 at 10:48 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>> ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
>>> i have question ( again )
>>>
>>> on my squid external acl domain
>>>
>>> avatars
>>> photo
>>> 2o7.net
>>>
>>> is that mean :
>>> *2o7.net will include on that acl ?
>>> *.2o7.net will include on that acl ?
>>> *.*/*photo*/ will include on that acl ?
>>> *photo*.* will include on that acl ?
>>
>> Depends entirely on the regex configuration.
>> The pattern by itself is useless to say what it matches.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1
Received on Wed Dec 17 2008 - 04:08:31 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 17 2008 - 12:00:03 MST