livehosts
livehosts copied to clipboard
If there is a port number after hostname in the url, the request header 'Host' missing that port number.
If there is a port number after hostname in the url, the request header 'Host' missing that port number. This will lead the response redirect to wrong url.
for example, I want to access http://192.168.1.20:55000, with livehosts map (192.168.1.20 to myhost.com). The request header 'Host' contains only myhost.com, not myhost.com:55000, when my server response to redirect next url, only http://myhost.com/blablabla, which http://myhost.com:55000/blablabla is wanted.