block the websites with squid server
i solve your problem
open the /etc/squid/squid.conf file with vi editor in terminal window
then find the ACCESS CONTROL in this configuration file
then uncomment or retype the line such as.......
#acl aclname dstdomain .foo.com ... # Destination server from URL
acl block dstdomain .google.com ... # Destination server from URL
then type the following below where the default word is written
on line number 1923 such as
http_access deny block
then save and quit the file
start the squid server
Last edited by Sukhwinder Singh; 10-18-2006 at 03:56 AM.