On Thu, 6 May 2004, David Kandou wrote: > How to block porn site like : > http://sanggrahan.org > http://66.98.190.156 > > in squid conf i wrote : > > acl xxx1 dstdomian "/tmp/forbidden_url.txt"
dstdomain, not dstdomian.. and this matches destination hosts, not URLs. acl xxx1 dstdomain "/tmp/forbidden_domains.txt" you also need acl xxx2 dst "/tmp/forbiden_ips.txt" in forbidden_hosts.txt you enter the hosts and/or domain names you block access to. www.playboy.com blocks the host www.playboy.com, .playboy.com (note the leading dot) blocks the whole domain playboy.com including the host playboy.com. > http_access deny xxx1 and also add http_access deny xxx2 Regards Henrik
