Search squid archive

Re: ACL URL question

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

 



Rui Dias | Expoarade - Animação,E.M. escribió:
Hello Everyone,
I need to block a site like http://www.xpto.com/?id=000 When i try to block the full address with the ?id=000 the rule don’t work,
but if I block only www.xpto.com .. I can block the website ..
The problem is that I don’t want to block the whole website only the link
like at top.
Anyone?
Thanks
Rui


acl xpto dstdomain http://www.xpto.com
acl blockID url_regex -i ^http://www.xpto.com/?id=000

http_access deny blockID
http_access allow xpto

Take a look:
http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-57610c67cac987182f6055118dd6d29e1ccd4445


Emilio C.

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

  Powered by Linux