Re: [squid-users] i'm getting a lot of output in my cache.log about status_code acl

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 11 Jun 2012 17:56:00 +1200

On 11/06/2012 5:28 p.m., Eliezer Croitoru wrote:
> On 11/06/2012 03:40, Amos Jeffries wrote:
>> On 11.06.2012 12:12, Eliezer Croitoru wrote:
>>> 2012/06/11 03:07:58| ACL::checklistMatches WARNING: 'OK' ACL is used
>>> but there is no HTTP reply -- not matching.
>>> 2012/06/11 03:07:58| ACL::checklistMatches WARNING: 'REDIRECT' ACL is
>>> used but there is no HTTP reply -- not matching.
>>>
>>>
>>> in squid.conf
>>> acl REDIRECT http_status 302
>>> acl OK http_status 200-206
>>>
>>>
>>> i'm not sure if im right
>>> but i want to deny cache on 302 code responses.
>>> i understand that http_status acl is a fast one but
>>> i'm trying to use it on the
>>>
>>>
>>> cache deny REDIRECT
>>> cache allow all
>>
>>
>> "cache" access is performed to determine whether a stored response may
>> be looked up. There is no response and status pre-known at that point.
>>
>> Amos
>>
> ok that i know...
> but why is it logging it ? isnt it common sense that if you dont have
> answer you are not suppose to even consider it?
>

You have your debug options set to display important messages, not just
critical ones.

It is important to be aware your "cache deny REDIRECT" is not working as
you designed.

Amos
Received on Mon Jun 11 2012 - 05:56:11 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 12 2012 - 12:00:03 MDT