LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   url filtering using Squid (https://www.linuxquestions.org/questions/red-hat-31/url-filtering-using-squid-113282/)

RajaRC 11-06-2003 10:49 PM

url filtering using Squid
 
Hi,

I am using Redhat 9.0.

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

Regards,
Raja

RickyJaff 11-07-2003 07:21 AM

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 .yahoo.com abc.com
http_access deny blocked


All times are GMT -5. The time now is 05:59 PM.