View Single Post
  #3 (permalink)  
Old 05-31-2008, 12:37 AM
vglass vglass is offline
Member
 
Join Date: Jul 2007
Posts: 14
vglass is on a distinguished road
This is typically returned as part of the HTTP response headers. For example:

HTTP/1.1 200 OK
Date: Fri, 30 May 2008 19:50:29 GMT
Server: Apache/2.2.4 (Fedora)
Accept-Ranges: bytes
Connection: close
Content-Type: text/html

In this case, look at the "Server" header which shows this server is running Apache.

You can get this from a raw socket connection by sending "GET /" command to server followed by a CRLF.
Reply With Quote