Squid 配置指令 header_replace
可用版本:
此指令在 Squid 的 v8 版本中不可用。
此指令在 Squid 的 v7 版本中不可用。
此指令在 Squid 的 v6 版本中不可用。
此指令在 Squid 的 v5 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | header_replace |
|---|---|
| 替代 | |
| 要求 | --enable-http-violations |
| 默认值 | none |
| 建议配置 |
|
Usage: header_replace header_name message Example: header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit) This option allows you to change the contents of headers denied with header_access above, by replacing them with some fixed string. This replaces the old fake_user_agent option. By default, headers are removed if denied. |
|
