[squid-users] acl rep_header and icap respmod

Antony Stone Antony.Stone at squid.open.source.it
Sat Sep 5 13:32:09 UTC 2015


On Saturday 05 September 2015 at 15:29:28, Alfredo Rezinovsky wrote:

> I'm trying to adapt response for all text/html responses.
> 
> icap_service service_respmod respmod_precache
> icap://127.0.0.1:1344/response
> 
> acl html rep_header -i Content-Type text\/html
> adaptation_access service_respmod allow html
> 
> And it doesn't works.
> 
> The strange thing is that it does works with:
> 
> acl html rep_mime_type text\/html
> 
> There should be something i'm missing

Shouldn't there be a colon in "Content-type: text/html"?


Antony.

-- 
"Linux is going to be part of the future. It's going to be like Unix was."

 - Peter Moore, Asia-Pacific general manager, Microsoft

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the squid-users mailing list