Hi,
I'm running apache on my system. I have noticed the following request
from the log files and I'm surprised that apache responds to it.
GET
http://www.yahoo.com/ HTTP/1.1
Host:
www.yahoo.com
User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 9
This is because of the absolute URI. I looked in the http rfc and in
there it says that such a request URI is only allowed when connection
to a proxy.
So according to the rfc apache should respons with an error code.
Maybe something like "Not allowed" or "Not implemented".
Why, however, does it serve the client the following response? What
you see here is the index.html page of the site. So it basically
servers the DocumentIndex.
HTTP/1.1 200 OK
Date: Fri, 15 Oct 2004 08:36:40 GMT
Server: Apache/1.3.26 (Unix) Debian GNU/Linux mod_jk/1.2.6 PHP/4.1.2
Last-Modified: Thu, 30 Sep 2004 15:09:40 GMT
ETag: "814015-10-415c21b4"
Accept-Ranges: bytes
Content-Length: 16
Content-Type: text/html; charset=iso-8859-1
comming soon...