[reply redirected to [EMAIL PROTECTED]] > -----Original Message----- > From: LRMK [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 02, 2002 11:57 AM > To: [EMAIL PROTECTED] > Subject: Writeing a HTTP server with perl > > > 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.
The host name is sent as a Host: request header by HTTP 1.1 browsers You might also look at the HTTP::Daemon module, part of the libwww-perl distribution, which implements an HTTP server. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]