Search squid archive

Re: block a specific file

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

 



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@xxxxxxxxxxxx > wrote:
From: =?iso-8859-1?q?Andr=E9=20Marques?= [mailto: andre_sesred@xxxxxxxxxxxx]
To: jhalfpenny@xxxxxxxxxx
     Cc: squid-users@xxxxxxxxxxxxxxx
Date: Mon, 22 Aug 2005 14:41:16 +0000 (GMT)
Subject: Re:  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@xxxxxxxxxx> 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!



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

  Powered by Linux