Squid 配置指令 location_rewrite_program
可用版本:
此指令在 Squid 的 v8 版本中不可用。
此指令在 Squid 的 v7 版本中不可用。
此指令在 Squid 的 v6 版本中不可用。
此指令在 Squid 的 v5 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | location_rewrite_program |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | none |
| 建议配置 |
|
Specify the location of the executable for the Location rewriter, used to rewrite server generated redirects. Usually used in conjunction with a url_rewrite_program For each Location header received the location rewriter will receive one line with the format: location URL <SP> requested URL <SP> urlgroup <NL> And the rewriter may return a rewritten Location URL or a blank line. The other components of the request line does not need to be returned (ignored if they are). By default, a Location rewriter is not used. |
|
