Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to block in elinks the Yahoo sites ( and all its subdomains, etc). I tried with Squid (squid.conf):

acl Badsites dstdomain
http_acces deny Badsites

and in elinks.conf: = ""
set.protocol.http.proxy.user = ""
set.protocol.http.proxy.passwd = ""

but it doesn't work. It tells me Host not found on every site I try to access. Do you have any idea why it behaves that way and can you tell me a solution?

share|improve this question
Shouldn't http_acces be http_access? – gertvdijk Dec 17 '12 at 14:12

I think you have to write localhost:3128, and you missed the sintax a little, it's set, without the first dot.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.