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 or GET /filename HTTP/1.1 .... domain: www.domain.com .... I think. ======= At 2002-12-02, 23:05:00 you wrote: ======= >I wrote a http server in perl to handle >GET request from browser >but browsers only send >GET folder\filename HTTP X.Y >request to the server > >how do i find which domain name that the user typed in the Address field. to >implement hosts. >actually i just want to know how to do it my server will not be a fully qualified one >it just reads GET request and send some thing to the client depending on the request > >but from GET i only see folder path of the requested url >how do i find the domain name or absolute url that user want >Im Using IO::Socket::INET ======================================== Best regards. Weijie Ding [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]