LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-25-2007, 07:23 AM   #1
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 214

Rep: Reputation: 30
how to block yahoomail.com in squid


how to block yahoomail.com in squid ?
 
Old 08-25-2007, 04:21 PM   #2
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
add all the sites u want to block in a text file and save it

add these rules to ur acl part of squid

Code:
acl bad_sites url_regex "<replace this with ur text file locat give full path>"
http_access deny bad_sites
and place the location of ur text file u just created inside those quotes (those quotes should be there)
 
  


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
i want to block a URL from squid Atifkhan Linux - Enterprise 3 02-23-2010 01:47 PM
using squid to block p2p yawe_frek Linux - Software 2 08-15-2007 10:58 AM
Squid block sites linuxnirmal Linux - Security 5 11-15-2006 10:59 AM
How to block a Website in Squid winxlinx Linux - Networking 1 02-21-2006 04:40 PM
How can i block msn through squid linuxeagle Linux - Networking 5 04-08-2004 09:08 AM


All times are GMT -5. The time now is 01:19 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
Open Source Consulting | Domain Registration