[squid-users] X-Cache regex

From: Chudy Fernandez <chudy_fernandez_at_yahoo.com>
Date: Sat, 27 Jun 2009 21:11:29 -0700 (PDT)

Can we use this to X-Cache? --> acl aclname rep_header header-name [-i] any\.regex\.here
Because I've been try to match X-Cache HIT from Server
for the purpose of log_access deny HIT.

i've tried;
acl hit rep_header X-Cache ^HIT from Server$ <- not working
acl hit rep_header X-Cache HIT\ from\ Server <- same

acl hit rep_header X-Cache HIT.from.Server <- same
acl hit rep_header X-Cache HIT <- only thing that works but not with X-Cache MISS from other, HIT from Server

Is there other way around to match HIT from Server X-Cache header?

      
Received on Sun Jun 28 2009 - 04:11:40 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 28 2009 - 12:00:04 MDT