Mike Raley <[EMAIL PROTECTED]> writes:
>> Have you tried telnet localhost 80 then and get?
>
> I just did:
> telnet 127.0.0.1 80
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> GET /server-status
> Connection closed by foreign host.

Not a valid HTTP request.

> [EMAIL PROTECTED] ~]# telnet 127.0.0.1 80
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> GET /server-status HTTP/1.1
>
> HTTP/1.1 400 Bad Request

Closer, but still not a correct HTTP request; you need the Host: request
header for HTTP/1.1 requests.  (Also, I recommend netcat for things like
this:)

    [EMAIL PROTECTED] [~]$ nc localhost 80
    GET / HTTP/1.1
    Host: localhost
    
    HTTP/1.1 200 OK
    Date: Sat, 30 Aug 2008 17:07:34 GMT
    Server: Apache
    Content-Length: 1561
    Content-Type: text/html;charset=ISO-8859-1
    
    […]

Unfortunately, I don't really have much useful to contribute to your
underlying problem, sorry.

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED]

Attachment: pgpZThRwziDpd.pgp
Description: PGP signature

Reply via email to