Re: [Openvpn-devel] HTTP Host header

2010-10-03 Thread Lars Hupel
> Have you been able to figure out how Apache handles this? Is it using > the Host: header in CONNECT requests for anything, and if yes, what should > be in there? Is that documented anywhere? I made a test, but it was inconclusive. I couldn't find any pattern in the results I got. My configurat

Re: [Openvpn-devel] HTTP Host header

2010-10-03 Thread Gert Doering
Hi, On Thu, Sep 30, 2010 at 02:38:40AM +0200, Peter Stuge wrote: > Acked-by: Peter Stuge Acked-by: Gert Doering gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany

Re: [Openvpn-devel] HTTP Host header

2010-10-03 Thread Gert Doering
Hi, On Thu, Sep 30, 2010 at 03:55:55PM +0100, Lars Hupel wrote: > My expectation would be that the proxy server uses the host name given > after GET (or CONNECT) to regulate access control (and to forward it as > 'new' Host header) and the Host header to disambiguate between multiple > virtual hos

Re: [Openvpn-devel] HTTP Host header

2010-09-30 Thread Peter Stuge
Lars Hupel wrote: > When thinking about it, the Host header doesn't make any sense to me. It was added to support virtual hosting in a time (20? years ago) when the domain name wasn't included anywhere in the request, but used only for client-side IP-adress lookup. Back then it was a reasonable as

Re: [Openvpn-devel] HTTP Host header

2010-09-30 Thread Lars Hupel
>> Yep. It's a bit redundant, but consider that CONNECT is already the >> odd kid among the HTTP verbs. Most other verbs only take an absolute >> path URI, without host component. > > On the other hand, in a proxy context the host component is always > present even for the other methods. ("The ab

Re: [Openvpn-devel] HTTP Host header

2010-09-30 Thread Heikki Kallasjoki
On Thu, Sep 30, 2010 at 02:38:40AM +0200, Peter Stuge wrote: > Lars Hupel wrote: > > > Current behavior is correct. The first one is what should be sent. > > > [...] > > > Actually it is helpful. It says that *the resource being requested as > > > obtained from the original URI given by the user* i

Re: [Openvpn-devel] HTTP Host header

2010-09-30 Thread Peter Stuge
Lars Hupel wrote: > > Current behavior is correct. The first one is what should be sent. > > [...] > > Actually it is helpful. It says that *the resource being requested as > > obtained from the original URI given by the user* is what should be > > sent. This is the "remote" parameter and nothing e