Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-18-2006, 03:25 AM   #1
Registered: Aug 2006
Posts: 37

Rep: Reputation: 15
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..
Old 10-18-2006, 03:44 AM   #2
Sukhwinder Singh
LQ Newbie
Registered: Sep 2006
Posts: 4

Rep: Reputation: 0
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 ... # Destination server from URL
acl block dstdomain ... # 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
Squid problem ... blocking some websites rickyinman Linux - Networking 4 04-11-2006 01:26 PM
Redirect websites to another squid server. neos Linux - Networking 0 06-27-2005 06:22 AM
squid proxy server msound Linux - Networking 4 06-01-2005 12:59 PM
squid proxy server cmardhekar Linux - Newbie 0 09-29-2001 06:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration