Search squid archive

Re: [squid-users] blocking urls

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

 



On Tue, 8 Feb 2005, cipher wrote:

^http://www.awprofessional.com/articles/article.asp?p=363731$

with url_regex.

You should also translate the URL into regex

 ^http://www\.awprofessional\.com/articles/articles\.asp\?p=363731$

but keep in mind that this is an exact match for the URL. Any variance from this exact URL will not be matched (i.e. if you add &junk=1 to the end of the URL you are likely to bypass this)

Anyway i would like to know if this is the proper way
to stop it or if there is a better to doit with
dstdom_regex.

dstdom_regex looks at the hostname only, similar to it's more structured sister "dstdomain".


General structure of an URL:

 protocol://domain/urlpath

The Squid ACLs is named accordingly.

url_regex looks at the whole URL (all parts) as a single string.

Regards
Henrik

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

  Powered by Linux