Hey Omid,

The issue is that the docs are unclear to *me* and I suspect that I will need 
to quote them:
        acl aclname rep_header header-name [-i] any\.regex\.here
          # regex match against any of the known reply headers. May be
          # thought of as a superset of "browser", "referer" and "mime-type"
          # ACLs [fast]

Which to me means that it works only against "any of the known reply headers" 
but not special ones.
It would be a bit weird if it is indeed the state but it's probably it.

This is the place to lower my hat and say:
I do not know what to tell you!
I can try to research and read code but there are others which can answer 
better then me on this one.

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: elie...@ngtech.co.il


-----Original Message-----
From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf 
Of Omid Kosari
Sent: Monday, July 18, 2016 5:42 PM
To: squid-users@lists.squid-cache.org
Subject: [squid-users] rep_header not working

Hello,

It seems rep_header does not work at all.

acl mshit rep_header X-SHMSCDN .
acl mshit rep_header Content-Type -i text\/html acl html rep_header 
Content-Type -i ^text\/html acl apache rep_header Server ^Apache debug_options 
28,3

Other types of acl works fine

the log is very huge because of thousands of clients .

Squid Object Cache: Version 3.5.19 Official Debian Package Ubuntu Linux 16.04  
4.4.0-28-generic on x86_64



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/rep-header-not-working-tp4678561.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to