[rhn-users] Blocking through Squid

DeWayne Cox eros275 at yahoo.com
Mon Nov 8 15:29:26 UTC 2004


Create a New ACL  I called mine Blocked then Type
should be URL Regexp matching should be the location
where you blocked file should be example mine is
"/etc/squid/blocked.txt" 


inside the blocked.txt 

\.exe\?.*$
\.mp3\?.*$
\.wms\?.*$
\.mp4\?.*$

well you get the picture just remember to restart
squid before the changes take affect.

Hope this helps
--- jijo  john <jijo_john at rediffmail.com> wrote:

>   
> Hai
>  I am using a squid , I want to block the
> downloading by adding
> the file extension like .exe .mp3 how can I block
> the by specifing 
> the file extension if any one knows pls help me 
> thank you
> jijos
> 
> jijo's
> > _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users



		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 




More information about the rhn-users mailing list