Search squid archive

Re: File Blocking not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08.11.06 12:01, Hement Gopal wrote:
> acl files url_regex -i "/usr/local/squid/etc/banned-files.txt"
> acl workdays time M T W H F 07:00-17:00
> 
> http_access deny files workdays
> 
> Banned-files.txt looks like :-
> 
> \.mpeg$
> \.mov$
> \.mpg$
> \.avi$
> \.wmv$
> \.mp3$
> 
> Now if I browse to http://www.cnn.com/test.avi I get the my error page 
> coming up saying Access restricted..which is great.
> 
> But if I try another site like http://www.is.co.za/test.avi the request 
> is not blocked.

don't you have any other access rules?

Note that http://www.cnn.com/test.avi? will be allowed too, you should use
some better filtering system...
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese. 

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux