Re: [squid-users] regex domain list

From: ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ <mirza.k_at_gmail.com>
Date: Wed, 17 Dec 2008 11:17:38 +0700

so with my http regex
it will works for PATH too ?
and IP too?

On Wed, Dec 17, 2008 at 11:15 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
>>
>> my mistake :D
>> have idea how to implement it ?
>> *avatar*.*
>> *.*/*avatar*
>> *.*/*/avatar
>> 123.132.212.221/*avatar*
>>
>> jus in 1 file
>>
>> 1 file for http regex and path regex
>> and IP also
>
> what you posted was right and should work if I understand you correctly.
>
>>
>> On Wed, Dec 17, 2008 at 11:08 AM, Amos Jeffries <squid3_at_treenet.co.nz>
>> wrote:
>>>
>>> ░▒▓ ɹɐ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
>

-- 
-=-=-=-=
http://amyhost.com ( webhosting dengan budget terbatas )
Hot News !!! :
Pengin punya Layanan SMS PREMIUM ?
Contact me ASAP. dapatkan Share revenue MAXIMAL tanpa syarat traffic...
Received on Wed Dec 17 2008 - 04:17:44 MST

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