LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 10-18-2006, 02:25 AM   #1
crackerB
Member
 
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, 02: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 .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 02:56 AM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 11:25 AM
Squid problem ... blocking some websites rickyinman Linux - Networking 4 04-11-2006 12:26 PM
Redirect websites to another squid server. neos Linux - Networking 0 06-27-2005 05:22 AM
squid proxy server msound Linux - Networking 4 06-01-2005 11:59 AM
squid proxy server cmardhekar Linux - Newbie 0 09-29-2001 05:34 AM


All times are GMT -5. The time now is 05:22 AM.

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