Re: apache weird GET

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

 




MKlinke wrote:
On Friday 30 January 2004 09:59, Leo wrote:
  
Getting lines such as these in apache access_log file:


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)"


What does it mean? (the "GET ...yahoo..." part)
    

telnet into your own server:

"telnet localhost 80"

and issue the same GET command and see what happens. Chances are that 
your own page is displayed and you'll get the same kind of log entry.

Regards,  Mike Klinke



  


This is the test:


[leo@LeoLux]$ telnet io 80
Trying 192.168.1.3...
Connected to firewall (192.168.1.3).
Escape character is '^]'.
GET http://www.yahoo.com HTTP/1.1

HTTP/1.1 400 Bad Request
Date: Fri, 30 Jan 2004 21:51:07 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Content-Length: 298
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr />
<address>Apache/2.0.40 Server at www.yahoo.com Port 80</address>
</body></html>
Connection closed by foreign host.


Curious the last line:
<address>Apache/2.0.40 Server at www.yahoo.com Port 80</address>

As well as the 400 response.

Obviously I do not host Yahoo!




If I type

GET http://www.yahoo.com

instead of

GET http://www.yahoo.com HTTP/1.1

I do get my main page however.






[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux