Re: [squid-users] block a specific file

From: John Halfpenny <jhalfpenny@dont-contact.us>
Date: Tue, 23 Aug 2005 03:50:26 -0400 (EDT)

thanks very much to everyone for their kind replies (and thanks andre for the example!), i'll have a look at using url_regex later on today. :)

john

 --- On Mon 08/22, =?iso-8859-1?q?Andr=E9=20Marques?= < andre_sesred@yahoo.com.br > wrote:
From: =?iso-8859-1?q?Andr=E9=20Marques?= [mailto: andre_sesred@yahoo.com.br]
To: jhalfpenny@excite.com
     Cc: squid-users@squid-cache.org
Date: Mon, 22 Aug 2005 14:41:16 +0000 (GMT)
Subject: Re: [squid-users] block a specific file

Hello!<br><br>Why don't you try to use two acls combined?<br>Maybe you can do this way:<br><br>acl file_type rep_mime_type -i ^(mime type of file)$<br>acl specific_file url_regex -i \.(file name)$<br><br>http_reply_access deny file_type specific_file<br><br><br>Hope this help anyway! :)<br><br><br>André<br><br>--- John Halfpenny <jhalfpenny@excite.com> escreveu:<br><br>> <br>> hi.<br>> <br>> does anyone know if squid can be configured to block<br>> a specific filename as opposed to mime type<br>> extensions?<br>> <br>> thanks<br>> <br>> john<br>> <br>> <br>> <br>> _______________________________________________<br>> Join Excite! - http://www.excite.com<br>> The most personalized portal on the Web!<br>> <br>> <br>> <br><br><br><br> <br> <br> <br>_______________________________________________________ <br>Yahoo! Acesso Grátis - Internet rápida e grátis. <br>Instale o discador agora! http://br.acesso.yahoo.com/<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Received on Tue Aug 23 2005 - 01:50:28 MDT

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