Re: Some pages...

From: Ken Hardy <ken@dont-contact.us>
Date: Thu, 24 Oct 1996 09:48:05 -0500 (CDT)

Isn't this a problem with Novell's server?. I sniffed the transactions
on the network (avoid as much guesswork as possible and go right to the
hard evidence), and here's what I observe.

Between browser (>) & Squid 1.0.9 (>):

> GET http://www.novell.com/cgi-bin/imagemap/main.txt?224,286 HTTP/1.0
> Referer: http://www.novell.com/toolkit/
> Proxy-Connection: Keep-Alive
> User-Agent: Mozilla/2.02 (X11; I; SunOS 5.5 sun4m)
> Host: www.novell.com
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

  < HTTP/1.0 302 Found
  < Date: Thu, 24 Oct 1996 14:02:44 GMT
  < Server: NCSA/1.4.2
  < Content-type: text/html
! < Location: http://proxy.Bridge.COM:80/corp/programs/ncs/toolkit/sites.html
  <
  < This document has moved here
 
Looks bad. Between Squid (>) and Novell (<), I see the same thing, The
bad URL is coming from Novell's server itself, not being added by
Squid:

> GET /cgi-bin/imagemap/main.txt?237,290 HTTP/1.0
> Referer: http://www.novell.com/toolkit/
> Proxy-Connection: Keep-Alive
> User-Agent: Mozilla/2.02 (X11; I; SunOS 5.5 sun4m) via Squid Cache version 1.0.9
> Host: www.novell.com
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> Forwarded: by http://proxy.Bridge.COM:80/ for 192.168.10.8

  < HTTP/1.0 302 Found
  < Date: Thu, 24 Oct 1996 14:04:52 GMT
  < Server: NCSA/1.4.2
  < Content-type: text/html
! < Location: http://proxy.Bridge.COM:80/corp/programs/ncs/toolkit/sites.html
  <
  < This document has moved here

The Forwarded: line is the only thing of substance that Squid adds to
the request. That shouldn't cause the trouble, should it?? It's the only
thing added by Squid besides the "via proxy" tagged on the end of th User-Agent: line.
Do all versions of Squid add the Forwarded: line?

It works, however, when I go Direct:

  < HTTP/1.0 302 Found
  < Date: Thu, 24 Oct 1996 14:36:35 GMT
  < Server: NCSA/1.4.2
  < Content-type: text/html
* < Location: http://www.novell.com/corp/programs/ncs/toolkit/sites.html
  <
  < This document has moved here

(Sorry, I can only capture 1 side of the direct conversation since it's
from the same machine making the request and Sun's 'nit' interface
won't capture its own outgoing packets.)

I seem to recall having trouble similar to this when setting up an
imagemap quite some time ago, but I don't recall the details. If not
all are seeing this problem through proxies, maybe Novell has more than
one server answering to www.novell.com, and not all are misbehaving?

--
KH
----- Begin Included Message -----
Date: Thu, 24 Oct 1996 09:37:47 -0700
From: Marc Delisle <delislma@CollegeSherbrooke.qc.ca>
To: David J N Begley <d.begley@nepean.uws.edu.au>
Cc: Peter Olsson <pol@leissner.se>, squid-users@nlanr.net
Subject: Re: Some pages...
David J N Begley wrote:
> 
> On Thu, 24 Oct 1996, Peter Olsson wrote:
> 
> > I tried the buttons in "http://www.novell.com/toolkit/".
> > When I press them I end up with the following request:
> > "http://www.leissner.se/corp/programs/ncs/toolkit/wk_lib.html".
> > I'm not at all surprised that squid doesn't find this URL, since we
> > (www.leissner.se) have never had any novell pages on our server...
> 
> Wierd .. I just tried the buttons again, and had no such problem;  it
> accessed "www.novell.com" each and every time.
> 
> This is Netscape 2.02 under Linux through a Squid 1.0.17 proxy.
> 
> > So, it seems that the big question is why the URL gets transformed
> > into something that looks like it should be at our website and not novell:s
> > website???
> 
> And why it's happening for some people, and not others!
> 
> dave
Here, I have the problem.  Netscape 3.0, Squid 1.0.12.
-- 
Marc Delisle              
DelislMa@CollegeSherbrooke.qc.ca                    
Service Informatique,                              
Collège de Sherbrooke      
Québec.  819/564-6223
----- End Included Message -----
Received on Thu Oct 24 1996 - 07:50:14 MDT

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