Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

acl Badsites dstdomain .yahoo.com
http_acces deny Badsites

and in elinks.conf:

set.protocol.http.proxy.host = "proxy.host:3128"
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

1 Answer 1

I think you have to write localhost:3128, and you missed the sintax a little, it's set protocol.http.proxy.host, 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.