Re: [squid-users] "Bypassing" Squid

From: Eliezer <eliezer_at_ec.hadorhabaac.com>
Date: Wed, 09 Feb 2011 03:55:56 +0200

i dont now the log options well but..
i would take another approach and instead of making it not to be in the
log... i would make something to make these lines to not be shown when
analyzing the logs.
you can either use "grep -v" or some perl\python script that can do this
easily.

On 09/02/2011 03:49, Jobst Schmalenbach wrote:
> Hi
>
> How can I let packages/sites "bypass" Squid?
>
> I do not mind if people listen to online stuff, what I mind is that I end up with loads of entries in the squid log and in the cache.
>
> For example I want squid not to touch/log/cache/whatever any packet that is "application/x-fcs" (and other media stuff)
>
>
> Is this correct, i.e. it will allow it through but not log nor cache it?
>
> Also is my understanding correct that ACL are cumulative (as below) so I can use multiple lines for the same ACL name?
>
>
> acl media urlpath_regex \.(afx|asf)(\?.*)?$
> acl media urlpath_regex \.flv(\?.*)?$
> acl media urlpath_regex \.swf(\?.*)?$
> acl media rep_mime_type x-fcs
>
> cache deny media
>
>
>
> Jobst
>
>
>
>
Received on Wed Feb 09 2011 - 01:56:03 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 09 2011 - 12:00:02 MST