On 2004.08.18, Michael Matthews <[EMAIL PROTECTED]> wrote:
> On Aug 18, 2004, at 3:08 PM, Chris Davies wrote:
>
> > expected behavior yes.
> >
> > Actual behavior, no
> >
> > telnet aol.com 80
>
> That would be because you're going to a redirect farm, not the actual
> site.
>
> Try www.aol.com.
That's not the issue. See:
$ telnet aol.com 80
Trying 205.188.145.213...
Connected to aolr-v1.evip.aol.com.
Escape character is '^]'.
HEAD / HTTP/1.0
Host: aol.com:80
HTTP/1.0 404 Not Found
MIME-Version: 1.0
Date: Wed, 18 Aug 2004 20:12:19 GMT
Server: AOLserver/3.4.2
Content-Type: text/html
Content-Length: 547
Connection: close
Connection closed by foreign host.
$ telnet aol.com 80
Trying 205.188.145.213...
Connected to aolr-v1.evip.aol.com.
Escape character is '^]'.
GET / HTTP/1.0
Host: aol.com:80
HTTP/1.0 302 Found
Location: http://www.aol.com/
MIME-Version: 1.0
Date: Wed, 18 Aug 2004 20:12:26 GMT
Server: AOLserver/3.4.2
Content-Type: text/html
Content-Length: 291
Connection: close
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>Redirection</TITLE>
</HEAD>
<BODY>
<H2>Redirection</H2>
<A HREF="http://www.aol.com/">The requested URL has moved here.</A>
<P ALIGN=RIGHT><SMALL><I>AOLserver/3.4.2 on http://www.aol.com</I></SMALL></P>
</BODY></HTML>
The HEAD request returns 404, but the GET request returns a 302
redirect. Something's wrong ... is the redirect implemented as
a registered proc? Do registered procs not get invoked on HEAD
requests? If so, that's a bug ...
If this were the VIP fabricating an HTTP response, then why would
it be adding the "Server: AOLserver/3.4.2" header -- that's got
to be coming from the origin HTTP server behind the VIP.
-- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of
your email blank.