Re: Acl's by mime/types

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 27 Oct 1999 22:01:32 +0200

Alexandre Hautequest wrote:
>
> Hi al..
>
> Is there any plan to add into the acl control types a mime tipes control?

Access control is taking place prior to contactin the origin server.
Mime type is only available in the response.

> This is a nice feature for some corps and/of universities, where just some
> people can download things such as zip, exe and mpeg audio/video, but
> still can access your favorite ftp site without download any file in
> higher useage hour.

You will get quite close by matching file extensions using
urlpath_regex.

acl downloads urlpath_regex -i \.zip$ \.mpg$ \.mpeg$ ...

--
Henrik Nordstrom
Squid hacker
Received on Wed Oct 27 1999 - 14:23:37 MDT

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