Re: [squid-users] blocking \.wma? URLs

From: Kashif Ali Bukhari <kbukhari@dont-contact.us>
Date: Tue, 19 Jul 2005 13:31:02 +0500

dar ray
 
> I've also tried these ACLs:
>
> acl BAD_FILES2 urlpath_regex -i \.wma$
> acl BAD_FILES2 urlpath_regex -i \.wma\?$

please use
acl BAD_FILES2 urlpath_regex -i \.wma$
acl BAD_FILES2 urlpath_regex -i \.wma\?.*$

it will block all urls like
eg: http://webserver.com/file.wma?
or http://webserver.com/file.wma

>
> The former works for URLs ending in .wma as you'd expect, but the
> latter didn't block ones ending with .wma?
>
> Could you point out where I'm going wrong please?
>
>
> Ray
>

-- 
Syed Kashif Ali Bukhari
Network Associate Asia Net
Cell :- +92-345-4244813 , +92-300-4295604
Ph +92-42-111-111-202 Fax +92-42-5840905
MSN:- kbukhari@msn.com ; kashif.bukhari@asia.net.pk
http://asia.net.pk , http://asiatec.biz
Received on Tue Jul 19 2005 - 02:32:16 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT