Search squid archive

Re: filter extensions in zip archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



url_regex acl can do that maybe.

You can use the url_regex ACL to match any part of a requested URL,
including the transfer protocol and origin server hostname. For example,
this ACL matches MP3 files requested from FTP servers:

acl FTPMP3 url_regex -i ^ftp://.*\.mp3$

On Sun, 14 Aug 2005 15:09:46 +0200, "Christoph Haas"
<email@xxxxxxxxxxxxxxxxx> said:
> On Tue, Aug 09, 2005 at 12:16:49PM +0200, Mario D&#246;ring wrote:
> > is it possible to have a deny-filter based on the
> > file-extension or mime-type of the files in a zip/rar/tar/gz... archive?
> 
> Since Squid doesn't look into the content of an HTTP object it cannot do
> that (unless you add content inspection it to the source ;) ).
> 
> Regards
>  Christoph
> -- 
> ~
> ~
> ~
> ".signature" [Modified] 3 lines --100%--                3,41         All
-- 
  Jeff Pan
  jeffpan@xxxxxxxxxxx

-- 
http://www.fastmail.fm - The way an email service should be


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux