Subject: Re: Odd Apache log entry
To: Erik Huizing <huizing@cpsc.ucalgary.ca>
From: Johan Danielsson <joda@pdc.kth.se>
List: netbsd-users
Date: 12/16/2000 03:28:06
Not really, but I guess that what one difference between the two is
that you maybe didn't include a host-header (which is required in
HTTP/1.1):

$ telnet www.cpsc.ucalgary.ca 80
Trying 136.159.12.12...
Encryption is verbose
Connected to www.cpsc.ucalgary.ca.
Escape character is '^]'.
GET http://www.netbsd.org/ HTTP/1.1
Host: www.netbsd.org

HTTP/1.1 200 OK
Date: Sat, 16 Dec 2000 02:25:15 GMT
Server: Apache/1.3.12 (Unix)
Transfer-Encoding: chunked
Content-Type: text/html

80a
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
       "http://www.w3.org/TR/REC-html40/loose.dtd"> 

 <head>
    <title>University of Calgary -- Computer Science Home Page</title>
    <link rel="stylesheet" type="text/css" href="/include/style.css">    
    <script type="text/javascript">

...

One reason for this might be that someone put your webserver as a
proxy in their browser. Or possibly because someone got a spoofed dns
reply for www.s3.com (less likely if you ask me).

/Johan