Search squid archive

Re: rep_header not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amos Jeffries wrote
> On 19/07/2016 2:42 a.m., Omid Kosari wrote:
>> 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
>> 
> 
> If thats all you put in the config, theres nothing telling Squid when to
> use the ACL.
> 
> PS. the other thread where you posted better details of the problem and
> config has already been answered, so I wont repeat the details here.
> 
> Amos
> 
> _______________________________________________
> squid-users mailing list

> squid-users@.squid-cache

> http://lists.squid-cache.org/listinfo/squid-users

I thought acl should match even if nothing to do with it . ok .

now
#acl mshit rep_header X-SHMSCDN HIT
#acl mshit rep_header X-SHMSCDN .
acl mshit rep_header X-Shmscdn -i HIT
acl testip src 192.168.1.10
http_access deny testip mshit

Maybe the problem is  "any of the known reply headers" as Eliezer mentioned
in other thread . If so what is the meaning of  known (please refer me to
source file in squid to not ask more questions about it :) ) ? Also is there
a way to work with unknown headers ?

Thanks





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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux