From: Jerry Walsh (jerry at domain aardvark.ie)
Date: Thu 09 Aug 2001 - 10:19:28 IST
At 10:12 09/08/01 +0100, Dave Airlie wrote:
> > following output:
> >
> > matrix/home/john>telnet [trons external address] 80
> > Trying [trons external address]...
> > Connected to [tron external address].
> > Escape character is '^]'.
> > get index.html
> > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> > <HTML><HEAD>
> > <TITLE>400 Bad Request</TITLE>
> > </HEAD><BODY>
> > <H1>Bad Request</H1>
> > Your browser sent a request that this server could not understand.<P>
> > Invalid URI in request get index.html<P>
> > <HR>
> > <ADDRESS>Apache/1.3.20 Server at 10.10.13.2 Port 80</ADDRESS>
> > </BODY></HTML>
> > Connection closed by foreign host.
> >
Am i missing something here or is nobody reading the error message?
Invalid URI in request means the URI you gave it is invalid - which it is
It should be GET /index.html
You can't just do GET index.html
You may also want to add a host header for sanity reasons:
GET /index.html HTTP/1.1
Host: www.somesite.com
(the above assumes you wish to retrieve http://www.somesite.com/index.html)
HTH,
Regards,
Jerry.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:31 GMT