[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apache version number?




charles@lunargraphics.net said:
> How can I tell which version of apache is installed on a non rpm based
> system?

osiris:~$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.1 200 OK
Date: Mon, 24 May 1999 18:20:29 GMT
Server: Apache/1.3.6 (Unix)  (Red Hat/Linux)
Last-Modified: Wed, 07 Apr 1999 21:17:54 GMT
ETag: "ac038-799-370bcb82"
Accept-Ranges: bytes
Content-Length: 1945
Connection: close
Content-Type: text/html

Connection closed by foreign host.

In other words, telnet to port 80, type "HEAD / HTTP/1.0" and hit
enter twice.

("printf 'HEAD / HTTP/1.0\r\n\r\n' | nc localhost 80" also works
nicely, if you have netcat installed.)

Steve
-- 
steve@silug.org           | Linux Users of Central Illinois
(217)698-1694             | Meetings the 4th Tuesday of every month
Steven Pritchard          | http://www.luci.org/ for more info

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.