Search squid archive

Re: [squid-users] blocking urls

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

 



On Sun, 6 Feb 2005, cipher wrote:

I would use:

acl p-block-hacking-urls urlpath_regex -i
"/usr/local/squid/filter/hacking/urls"

Because that is he file in which the url that i want to
block, is in:

root@oreon:/usr/local/squid/filter/hacking# grep
awprofessional.com urls
awprofessional.com/articles/article.asp?p=363731

These are not proper patterns for urlpath_regex.


urlpath_regex is a regex match to the file path after the hostname, i.e. in case of the URL http://www.awprofessional.com/articles/article.asp?p=363731 urlpath_regex will do a regex pattern match against "/articles/article.asp?p=363731"


regex is a pattern matching language, same as used by grep and most other UNIX tools.

   man 7 regex

or your favorite UNIX book (there is even books about regex alone..)

Regards
Henrik

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

  Powered by Linux