restricting acces to sites with squid and elinks

Posted by Rexxar on Ask Ubuntu See other posts from Ask Ubuntu or by Rexxar
Published on 2012-12-15T17:12:23Z Indexed on 2012/12/15 17:17 UTC
Read the original article Hit count: 194

Filed under:
|
|

I want to block in elinks the yahoo sites(www.yahoo.com and all his subdomains fr.yahoo.com etc). I tried with squid(squid.conf):

acl Badsites dstdomain .yahoo.com http_acces deny Badsites

and i wrote in elinks.conf:

set.protocol.http.proxy.host = "proxy.host:3128" set.protocol.http.proxy.user = "" set.protocol.http.proxy.passwd = ""

and it dosent work. it tells me Host not found on every site i whant to enter. DO you have any idee why it works that way and can you tell me a solution?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about squid