Em 10/07/14 09:04, Alexandre escreveu:
> Concerning blocking the specific URL. Someone correct me if I am wrong
> but I don't believe you can not do this with only squid.
> The squid ACL system can apparently block per domain:
> http://wiki.squid-cache.org/SquidFaq/SquidAcl
>
>
Of course you can block specific URLs using only squid ACL options !!
# acl aclname url_regex [-i] ^http:// ... # regex matching on
whole URL
# acl aclname urlpath_regex [-i] \.gif$ ... # regex matching
on URL path
if the URL is:
http://eaassets-a.akamaihd.net/battlelog/background-videos/naval-mov.webm
then something like:
acl blockedurl url_regex -i akamaihd\.net\/battlelog\/background-videos\/
http_access deny block
should do it ! And i not even include the filename which, i
imagine, can change between different stages.
-- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email gertrudes_at_solutti.com.br My SPAMTRAP, do not email itReceived on Thu Jul 10 2014 - 12:31:43 MDT
This archive was generated by hypermail 2.2.0 : Thu Jul 10 2014 - 12:00:06 MDT