Re: [squid-users] reverse proxies and Host request header

2015-06-12 Thread Amos Jeffries
On 13/06/2015 2:08 a.m., Julianne Bielski wrote: I have a general question about the use of the http Host request header by reverse proxies. As I understand it, the Host request header is used by transparent forward proxies as a way to route a request to the correct origin server since,

Re: [squid-users] reverse proxies and Host request header

2015-06-12 Thread Antony Stone
On Friday 12 June 2015 at 17:49:38 (EU time), Julianne Bielski wrote: With virtual hosting, the client is asking for a virtual origin server's host and DNS enables the ip address for the physical host to respond. The virtual host still sees its hostname in the host header, not the physical

[squid-users] reverse proxies and Host request header

2015-06-12 Thread Julianne Bielski
I have a general question about the use of the http Host request header by reverse proxies. As I understand it, the Host request header is used by transparent forward proxies as a way to route a request to the correct origin server since, unlike with an explicit proxy, the host is not included in

Re: [squid-users] reverse proxies and Host request header

2015-06-12 Thread Julianne Bielski
Host name, it sees the proxy's, even though the proxy is an http client with respect to the origin server. From: Antony Stone antony.st...@squid.open.source.it To: squid-users@lists.squid-cache.org Date: 06/12/2015 10:14 AM Subject:Re: [squid-users] reverse proxies and Host request

Re: [squid-users] reverse proxies and Host request header

2015-06-12 Thread Antony Stone
On Friday 12 June 2015 at 16:08:59 (EU time), Julianne Bielski wrote: reverse proxies are always transparent from the perspective of the client and the Host header is often used by the proxy to map to the correct back end origin server. I also think they usually pass the Host header as-is