标签: squid
如何根据客户端的请求标头在Squid代理服务器中重写目标URL?
详细信息: 如果我调用GET www.google.com HTTP/1.0\r\nGo:www.google.com.bd之类的API,则Squid代理将调用GET www.google.com.bd HTTP/1.0。重写URL将根据客户的请求进行更改。
GET www.google.com HTTP/1.0\r\nGo:www.google.com.bd
GET www.google.com.bd HTTP/1.0