LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Blocking websites in squid proxy server. (https://www.linuxquestions.org/questions/linux-software-2/blocking-websites-in-squid-proxy-server-493397/)

crackerB 10-18-2006 02:25 AM

Blocking websites in squid proxy server.
 
How can I block website in squid proxy server.??
Should I need some other program??
I am already using SARG..

Sukhwinder Singh 10-18-2006 02:44 AM

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


All times are GMT -5. The time now is 07:47 AM.