using GET to test apache connection

when I use telnet localhost 80 to test apache connection it works, However when using the

GET / HTTP/1.0 command I get a
Code:
command not found
message, I used the rehash command and still nothing.
 
Not sure how you did this, and rehash has nothing to do with it ..

Code:
telnet localhost 80 [FILE][enter][/FILE]
GET / HTTP/1.0 [FILE][enter][/FILE] [FILE][enter][/FILE]

or

Code:
telnet localhost 80 [FILE][enter][/FILE]
HEAD / HTTP/1.0 [FILE][enter][/FILE] [FILE][enter][/FILE]

That's how it works.
 
I'm guessing the telnet fails to connect and the GET ends up on the command line.
 
Not sure if this is easy to miss ;)

Code:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
 
Back
Top