Re: [squid-users] Using rep_mime_type with Squid 2.3

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 16 May 2005 07:52:02 +0200 (CEST)

On Wed, 4 May 2005, Jens Strohschnitter wrote:

> Hm,
>
> how should I use urlpath_regex to deny mimetype like ^audio/mpeg ?

You cant', but you can use it to deny access to .mp3 files which most
likely will result in an audio/mpeg mime type.

acl mp3 urlpath_regex -i \.mp3$

and if you add a custom error page (see deny_info) explaining why access
is denied and that you will hunt down people trying to bypass this should
effectively stop the rest.

Regards
Henrik
Received on Sun May 15 2005 - 23:52:05 MDT

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