How to query a webserver about the apache version it runs

Neutrino

Gawd
Joined
Nov 10, 2005
Messages
602
I was wondering what would be the best way to find out what version of apache a webserver is running either though some external scan (perhaps some open source or trial version scanner you guys might recommend) or through a local script since we have have ftp access to the site on it. There are two servers running supposedly the exact same stuff but I keep having issues with only of them and I saw some differences which led me to believe they are running a different version and I'll like to find out for sure. Any advice is appreciated.
 
Telnetting to port 80 and issueing any valid command will (usually) spit out the version info.

fint@postal:~$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
HEAD / HTTP/1.1

HTTP/1.1 400 Bad Request
Date: Thu, 31 May 2007 13:31:19 GMT
Server: Apache/1.3.34 (Debian) PHP/4.4.4-9
Connection: close
Content-Type: text/html; charset=iso-8859-1
 
Back
Top