Thanks it solved my problem I read a HTTP request from my browser (IE 6) using a small program which listens to port 80 i got this
GET /perl/lib/Pod/perlfunc.html HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: en-us Accept-Encoding: gzip, deflate If-Modified-Since: Mon, 02 Dec 2002 15:45:13 GMT; length=326978 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Host: www.lrmk.dynu.com Connection: Keep-Alive I like to know what exactly each of these lines means ----- Original Message ----- From: "Rob Dixon" <[EMAIL PROTECTED]> To: "Weijie Ding" <[EMAIL PROTECTED]>; "LRMK" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 03, 2002 4:06 PM Subject: Re: Writing a HTTP server with PERL > 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 > > >