Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-13-2003, 11:58 AM   #1
LQ Newbie
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Question how to block sites with squid.conf

hello every1
I am new here,
And I would be grateful if you could guys tell me how to block URLS with squid proxy server,
Also what are the lines to block MSN Messenger,
There is something about acl in the squid.conf, right,

thanks in advance
Old 08-11-2003, 05:45 AM   #2
Registered: Feb 2003
Location: Bangalore, India
Distribution: Fedora Core 2
Posts: 60

Rep: Reputation: 15
to block an url containing a regular expression use as follows in squid.conf file

acl pornblock url_regex ""

then block this using http_access statement

http_access deny pornblock

instead of specifying the url in the acl statement you can also specify a filename which contains a list of these url's or banned-words of regular expressions

for more info about configuring squid proxy server visit the site
and read the configuration manual available there.


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
block some sites nkutty Linux - Security 1 10-03-2005 04:15 AM
How to BLOCK SLEEZE SITES? saugato Linux - Security 3 02-11-2005 08:39 PM
Looking to block out certain webb sites HenchmenResourc SUSE / openSUSE 1 12-02-2004 08:13 AM
allow certain sites and block rest all of them mcgrath Programming 1 11-24-2004 10:53 AM
Make MozillaFirebird block sites *not popup/ads* GT_Onizuka Linux - Software 4 11-02-2003 03:52 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 AM.

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