Search squid archive

Re: regex domain list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



░▒▓ ɹɐ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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux