Re: Squid2 Patch2 transforming www.cabellas.com to www.cabeiias.com?

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Thu, 24 Dec 1998 12:33:06 -0700 (MST)

On Thu, 24 Dec 1998, Jeremy Malli wrote:

> I ran into this on accident today; while attempting to go to Cabelas web
> site I typed in www.cabellas.com and squid responded that it could not
> locate www.cabeiias.com. I've tried this several times and it always comes
> back with the same response. Any ideas. Thanks...

They have a buggy redirect:

-----------
Meta-Bug> telnet www.cabellas.com 80
Trying 209.95.108.146...
Connected to cabellas.com.
Escape character is '^]'.
GET / HTTP/1.0
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/3.01SC-SGI (X11; I; IRIX 6.2 IP22)
Host: www.cabellas.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

HTTP/1.0 302 Found
Date: Thu, 24 Dec 1998 19:30:07 GMT
Server: Apache/1.1.3 VIRTUAL/1.0 P/1.0b12 M/1.0.16 HTS/2.99
Location: http://cabeIIas.com
Content-type: text/html

<HEAD><TITLE>Document moved</TITLE></HEAD>
<BODY><H1>Document moved</H1>
The document has moved here.<P>
</BODY>
Connection closed by foreign host.
Meta-Bug>

--------------

Without the Host: header everything works fine:

--------------
Meta-Bug> telnet www.cabellas.com 80
Trying 209.95.108.146...
Connected to cabellas.com.
Escape character is '^]'.
GET / HTTP/1.0
Proxy-Connection: Keep-Alive
User-Agent: Mozilla/3.01SC-SGI (X11; I; IRIX 6.2 IP22)
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

HTTP/1.0 200 OK
Date: Thu, 24 Dec 1998 19:32:01 GMT
Server: Apache/1.1.3 VIRTUAL/1.0 P/1.0b12 M/1.0.16 HTS/2.99
Content-type: text/html

<HTML><HEAD><TITLE>Web FX</TITLE></HEAD>
....
--------------

Alex.
Received on Thu Dec 24 1998 - 12:12:03 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:43 MST