Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-06-2003, 11:49 PM   #1
Registered: Feb 2003
Distribution: Redhat
Posts: 58

Rep: Reputation: 15
url filtering using Squid


I am using Redhat 9.0.

Using Squid how can I block this url and also how to block *.mp3 file.

Old 11-07-2003, 08:21 AM   #2
Registered: Oct 2003
Distribution: RedHaT, ELX, DragonLinux, Knoppix.
Posts: 89

Rep: Reputation: 15
yes.. u can..

to block.. *.mp3 files..
u have to make sure that ur squid is compiled with delay pools enabled...if yes.. then put the following line.. in squid.conf

acl magic_words2 url_regex -i ftp .exe .mp3
delay_pools 2
delay_class 2 2
delay_access 2 allow magic_words2

to deny accessing a site..

acl blocked dstdom_regex
http_access deny blocked


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
Content Filtering using Squid toraghun Red Hat 3 11-10-2005 11:42 PM
URL Filtering in NAT+BIND9 TheAce Linux - Networking 8 11-08-2005 02:40 AM
set URL filtering in mozilla Trio3b Linux - Security 2 04-15-2005 07:19 AM
Squid URL list linuxeagle Linux - Networking 2 05-12-2004 03:25 PM
Web filtering: URL filt or rate content..or? Linux Learning Linux - Security 2 10-01-2003 08:46 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:23 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