Squid 配置指令 request_header_replace
可用版本:
此指令在 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. |
|
