I did this, and it works:

header_access Via deny all
header_access X-Forwarded-For deny all


.vp




From: Sekar <[EMAIL PROTECTED]>

Hello all,

I have switched off the "via" header using the squid configuration file, but when a request is made the reply has this header ( Via: 1.0 xyz.abc.com:3128 (squid/2.6.STABLE14) . But the manual says that will include a Via header in requests and replies only when the directive is set to "on"

#  TAG: via     on|off
#       If set (default), Squid will include a Via header in requests and
#       replies.

Do we need to configure anything else to disable the via information in squid reply header.

Thanks in advance,
Sekar



Reply via email to