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

Re: apache weird GET




MKlinke wrote:


On Saturday 31 January 2004 03:43, Leo wrote:



Yeah yeah, I know that.
But what is that success code the user got asking me for
http://www.yahoo.com/ ?
The Proxy answer was the most reasonable one, if I were running
apache with the proxy_module "on".
But it seems I am not running it, what else could it mean?



From your first note:

===========
211.23.180.230 - - [30/Jan/2004:03:22:27 +0100] "GET http://www.yahoo.com/ HTTP/1.1" 200 6839 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)"
===========


OK, lets go back to the RFC. This is a request for the yahoo web page via HTTP/1.1

HTTP/1.1 requires a host name field to accompany the request (Section 14.23 of the RFC). So to test this:

====================
telnet <your host> 80 <Enter>
GET http://yahoo.com HTTP/1.1 <Enter>
Host: <some host> <Enter><Enter>
====================

Now look at your access_log. You'll see a similar entry as above. The 200 will indicate a successful transfer of an object. The object transferred will most likely by your own default page.

Regards, Mike Klinke






Yes, it does give me the server default page.


Thanks,
Leo.









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