[squid-users] Help! Squid Host header rewriting

LauranceKuo 76629513 at qq.com
Thu Nov 19 14:29:18 UTC 2015


Thanks for the quick response.

I quoted the link to show my problem. Below is the detail.

First, the version of Squid I am using is 3.5.4.

And, this is the http request from client to Squid:
/GET
http://122.228.56.30/snsvideodownload?filekey=30270201010420301e0201660402534804100d9d070ab465cfc2259e39ffd4a63cad020303f7550400&bizid=1023&hy=SH&fileparam=302f0201010428302602044c9650540204564dcc5b02024eea02031e867502030f42400204b01ba80a0204f75de2650400
HTTP/1.1
Host: vweixinf.tc.qq.com
.../

and, this is the http request from Squid to server:
/GET
/snsvideodownload?filekey=30270201010420301e0201660402534804100d9d070ab465cfc2259e39ffd4a63cad020303f7550400&bizid=1023&hy=SH&fileparam=302f0201010428302602044c9650540204564dcc5b02024eea02031e867502030f42400204b01ba80a0204f75de2650400
HTTP/1.1
Host: 122.228.56.30
.../

and the server responses with:
/HTTP/1.1 404 Not Found/

And the client is WeChat, which is a very popular APP in China. I can't tell
them to correct this. So is there a way to keep this http request the same?
Or, the only way is to revise the source code?

Thanks very much!

B.R.
LauranceKuo



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Help-Squid-Host-header-rewriting-tp4674725p4674729.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list