Hello,

I want to hide squid's OWN reply header . I have tested following config

acl squid_server rep_header Server squid
reply_header_access Server deny squid_server
reply_header_replace Server Foo/1.0

But got the error "ACL is used in context without an HTTP response. Assuming
mismatch."

The only thing that works is following but it hide all Server headers . I
just want to remove if it is from squid's own .

reply_header_access Server deny all


HTTP/1.1 400 Bad Request
===========
Server: squid
===========
Mime-Version: 1.0
Date: Sun, 28 Aug 2016 09:00:12 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 0
X-Cache: MISS from cache1
X-Cache-Lookup: NONE from cache1:3128
Connection: close



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/reply-header-access-Server-deny-IF-Server-squid-tp4679338.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

Reply via email to