<div dir="ltr">It comes from an Icap server but I tried 200 status code from the webserver directly and doesn't work either.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 5, 2019 at 4:43 PM Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/5/19 3:06 PM, Felipe Arturo Polanco wrote:<br>
<br>
> I have been trying to match http_status acl in my squid.conf file but it<br>
> has no effect.<br>
> <br>
> My goal is to add a given header to specific HTTP return codes.<br>
> <br>
> eg:<br>
> This works:<br>
> acl user1 src <a href="http://192.168.0.6/32" rel="noreferrer" target="_blank">192.168.0.6/32</a> <<a href="http://192.168.0.6/32" rel="noreferrer" target="_blank">http://192.168.0.6/32</a>><br>
> reply_header_add Cache-Control "no-store" user1<br>
> <br>
> This doesn't work:<br>
> acl 307_redirect http_status 307<br>
> reply_header_add Cache-Control "no-store" 307_redirect<br>
> <br>
> Any ideas on what could I be missing here?<br>
<br>
Does that 307 response come from a server (including cache_peers) or is<br>
it generated by Squid itself?<br>
<br>
Alex.<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>