Hi Weijie. See in-line.
----- Original Message ----- From: "Weijie Ding" <[EMAIL PROTECTED]> To: "LRMK" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 03, 2002 2:54 AM Subject: Re: Writing a HTTP server with PERL > Hi, LRMK, 2002-12-03 10:52:27 > > I think it is not your fault. Maybe you used a browser which can't support virtual domains, > like lynx. > > The browser should send > GET http://domain.com/filename HTTP/1.x All requests must include a Host header, even if the information is already provided in the request line. The full absolute URI is normally provided only if the request is to a proxy server. (Although all servers are supposed to support it so that future HTTP standards can require it.) GET http://domain.com/filename HTTP/1.x Host: domain.com > or > > GET /filename HTTP/1.1 > .... > domain: www.domain.com > .... > > I think. Yes, but it's Host: domain.com Cheers, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]