Re: [squid-users] acl problem with mime types

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 31 Jan 2007 23:57:34 +0100

fre 2007-01-26 klockan 10:30 +0000 skrev Andrew Pounce:

> now I my understanding of things I can check the mime type with acl's
> and cache allow/cache deny :-
>
> acl imagesmime rep_mime_type image/jpeg
> acl imagesmime1 rep_mime_type -i image/jpeg
> cache allow imagesmime
> cache allow imagesmime1
> cache deny all

Hmm.. I don't think this will work out... The cache directive is applied
on the request, not the response..

I have no obvious answer on how to do this short of digging into the
code.

Regards
Henrik

Received on Wed Jan 31 2007 - 15:57:40 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST