Squid 配置指令 request_header_replace

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

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

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

配置详情

选项名称request_header_replace
替代header_replace
要求--enable-http-violations
默认值none
建议配置

      
	Usage:   request_header_replace header_name message
	Example: request_header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)

	This option allows you to change the contents of headers
	denied with request_header_access above, by replacing them
	with some fixed string.

	This only applies to request headers, not reply headers.

	By default, headers are removed if denied.

 

返回

 

简介

文档

支持

杂项