Hello,

in "/tmp/forbidden_url.txt" file :  you simply use

playboy.com
penthouse.com
sanggrahan.org
66.98.190.156

don't mention  www or https://
this will block the site whether it starts with www or http:// or whatever
it is.

Regards,
-Murugan.




----- Original Message -----
From: "David Kandou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:34 AM
Subject: [squid-users] Blocking Porn sites....





Dear all,

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"
http_access deny xxx1

in "/tmp/forbidden_url.txt" file :
www.playboy.com
www.penthouse.com
http://sanggrahan.org
http://66.98.190.156


When i restart squid only porn sites with www..... can blocked, but porn
sites without www..... (using http://..............) can't be block.......

Thank's for your help......

Regards,
David Kandou




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.670 / Virus Database: 432 - Release Date: 4/27/2004

Reply via email to