On Fri, 9 May 2003 20:42, Boniforti Flavio wrote:
> But what if the URL is like:
>
> 1052218962.016 800 10.167.211.11 TCP_MISS/200 1125 GET
> http://deejay.wm.p1.str3.com/djradio -
> FIRST_PARENT_MISS/proxy.reteunitaria.piemonte.it
> application/octet-stream
>
Obviosly it's more difficult to filter objects like this. The mime type is
generic so rep_mime_type isn't enough. But in this case something on the
client side is assuming that application/octet-stream means radio, and if
you're lucky enough to have that client-side application send an honest
User-Agent header (most do) then an external helper might be the way to go.
Something like external_acl_type radio concurrency=5 %{User-Agent}
/path/to/myhelper. But beware: you'll need to write your own helper and doing
so may not be trivial. If you're really keen then do some research on squid's
external acl scheme.
Regards
Gerard
Received on Fri May 09 2003 - 05:05:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:29 MST