Search squid archive

reply_header_access Server deny (IF Server==squid)

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

 



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@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