Re: [SQU] filtering some types of files with acl ?

From: Henrik Nordstrom <>
Date: Fri, 12 Jan 2001 19:34:32 +0100

Path selection is controlled by
cache_peer, cache_peer_access, always_direct, never_direct and

Client access is controlled by http_access.

acl images urlpath_regex -i \.gif$ \.jpg$

cache_peer dvb parent 8080 0 no-query
cache_peer_access dvb allow images
cache_peer_access dvb deny all

prefer_direct off

Henrik Nordstrom
Squid hacker
Ventsislav Velkov wrote:
> Hi,
> I have a dvb and a leased line, I use squid for caching proxy server
> with parent proxy my dvb provider. I want to filter
> only the file formats like .jpg or .gif to be recieved thorough my dvb
> and everything else through my leased line. In the
> squid.conf I have the example  "acl aclname urlpath_regex  [-i] \.gif$"
> But I could not manage to succed with always_direct and never_direct
> tags.
> I also have some acl's  with src ipaddres/netmask to limit the use of my
> proxy server only from my clients. Is it possible
> to filter the "gifs or jpgs" only on a certain acl  src
> ipaddress/netmask so for example for the whole
> traffic is passing through my parent proxy, while for
> only the filtered jpgs and gifs pass through my dvb.
> Thank you in advance for any suggestion.
> Regards
> Veno
> --
> To unsubscribe, see
To unsubscribe, see
Received on Fri Jan 12 2001 - 11:59:02 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:27 MST