Squid 配置指令 url_rewrite_host_header

可用版本:   v6   v5   v4   3.5   3.4   3.3   3.2   2.7   3.1   3.0   2.6  

此指令在 Squid 的 v8 版本中不可用。

对于 v5 之前的旧版本,请参阅以上链接页面。

配置详情

选项名称url_rewrite_host_header
替代redirect_rewrites_host_header
要求
默认值url_rewrite_host_header on
建议配置

      
	To preserve same-origin security policies in browsers and
	prevent Host: header forgery by redirectors Squid rewrites
	any Host: header in redirected requests.

	If you are running an accelerator this may not be a wanted
	effect of a redirector. This directive enables you disable
	Host: alteration in reverse-proxy traffic.

	WARNING: Entries are cached on the result of the URL rewriting
	process, so be careful if you have domain-virtual hosts.

	WARNING: Squid and other software verifies the URL and Host
	are matching, so be careful not to relay through other proxies
	or inspecting firewalls with this disabled.

 

返回

 

简介

文档

支持

杂项