LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Enterprise Linux > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 05-25-2006, 05:08 PM   #1
Atifkhan
LQ Newbie
 
Registered: May 2006
Posts: 4
Thanked: 0
i want to block a URL from squid


[Log in to get rid of this advertisement]
i m running Red hat enterprise linux EL core4, i want to block a URL for my clients. kindly help me to place a access control list.
thanks
Atifkhan is offline  
Tag This Post
Reply With Quote
Old 05-25-2006, 05:39 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware 12.1, Slackware 13.0
Posts: 3,788
Thanked: 20
You can do this with regular expressions or destination domain lists (and probably other ways as well). A short example would be:
Code:
acl Cooking1 url_regex cooking
acl Recipe1 url_regex recipe
acl myclients src 172.16.5.0/24
http_access deny Cooking1
http_access deny Recipe1
http_access allow myclients
http_access deny all
I suggest having a look through the the following to get more info:
http://wiki.squid-cache.org/SquidFaq
http://www.linuxhomenetworking.com/linux-adv/squid.htm
gilead is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Is there a way to block people from accessing my site if they came from a certin url? abefroman Linux - Security 5 02-14-2006 12:16 AM
Block URL request in server spiffytech Linux - Security 2 02-08-2006 10:16 PM
excluding url cached by squid ilnli Linux - Software 1 11-02-2005 05:03 AM
Squid URL list linuxeagle Linux - Networking 2 05-12-2004 03:25 PM
url filtering using Squid RajaRC Red Hat 1 11-07-2003 08:21 AM


All times are GMT -5. The time now is 05:31 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration