Search squid archive

Re: How to use http_status acl?

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

 



On 11/5/19 3:06 PM, Felipe Arturo Polanco wrote:

> I have been trying to match http_status acl in my squid.conf file but it
> has no effect.
> 
> My goal is to add a given header to specific HTTP return codes.
> 
> eg:
> This works:
> acl user1 src 192.168.0.6/32 <http://192.168.0.6/32>
> reply_header_add Cache-Control "no-store" user1
> 
> This doesn't work:
> acl 307_redirect http_status 307
> reply_header_add Cache-Control "no-store" 307_redirect
> 
> Any ideas on what could I be missing here?

Does that 307 response come from a server (including cache_peers) or is
it generated by Squid itself?

Alex.
_______________________________________________
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