i hav blocked some files downloading in my network from squid cache
my acl is
acl dlb urlpath_regex -i "/usr/local/squid/etc/dlb.txt"
acl mim rep_mime_type -i "/usr/local/squid/etc/mim.txt"
http_access deny dlb
http_access deny mim
#the dlb.txt
#-------------------------
\.cab$
\.exe$
\.rm$
\.mp?$
\.mpg$
\.mpeg$
\.mp3$
\.wmv$
\.wma$
\.mov$
\.avi$
\.cab?$
\.exe?$
\.rm?$
\.mp??$
\.mpg?$
\.mpeg?$
\.mp3?$
\.wmv?$
\.wma?$
\.mov?$
\.avi?$
~
#the mim.txt
#------------------
^application/octet-stream$
^application/x-msdownload$
^audio/x-pn-realaudio$
^audio/mpeg$
^audio/x-wav$
^video/mpeg$
when any user try to download like http://www.somesites.com/file.exe
it gives access denyed (wich i want )
but when a user add ? on end of url like http://www.somesites.com/file.exe?
the result is squid starts downloading file but with out extantion i want
to stop downloading from squid when a user add ? sign
thnx
Received on Sun Aug 08 2004 - 10:16:59 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT