LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: HTTP 1.1 or name based httpd on VS-NAT

To: "'lvs-users@xxxxxxxxxxxxxxxxxxxxxx'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: HTTP 1.1 or name based httpd on VS-NAT
From: Ilker Gokhan <IlkerG@xxxxxxxxxxxxxxxx>
Date: Fri, 11 May 2001 11:33:29 +0300

Hi,

> Kimden: Paul Baker [mailto:pbaker@xxxxxxxxxxxxxxx]
> Tarih: Thursday, May 10, 2001 11:20 PM
> Kime: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Konu: Re: HTTP 1.1 or name based httpd on VS-NAT
>
>
> Joseph Mack wrote:
>
> >
> > So is that the <virtualHost ...>
>
>
> Yes
>
>
> >
> > or the servername underneath?
>
>
> Servername should ideally be set to the reverse dns of the
> VIP (or what
> you would like the reverse dns of the VIP to have been)
>
> > what if instead of the name of the VIP, I surf to the actual IP?
>
>
> I'm not for certain, but I believe that when you surf to a
> http://123.123.123.123/ url, the Host: header is not filled
> in for the
> HTTP request (i could be wrong) in which case, the web server is
> supposed to serve the first virtualhost entry, or the
> virtualhost that
> matches Servername.
>

Yes, If you write URL with IP address such as http://123.123.123.123/ , The Host: header is filled with this IP address, not hostname. You can see it using any network monitor program (tcpdump).

Best regards,
Ilker G.


Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu tutulamaz.

The information contained in this E-Mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed and do not reflect those of Sumerbank A.S.


<Prev in Thread] Current Thread [Next in Thread>