lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV Help with address parsing when using proxy


From: Doug Kaufman
Subject: LYNX-DEV Help with address parsing when using proxy
Date: Fri, 6 Mar 1998 23:53:58 -0800 (PST)

Perhaps someone on the list ca explain to me what is going on. This is
probably not specific to lynx, since the same behavior is seen on the DOS
port of 2.8pre.2, on SunOs 2.7.2, and on Netscape4.01 on DOS. I generally
connect through a http proxy, since certain sites are difficult to reach
from my ISP otherwise, but am not behind a firewall. When attempting to
access Alfredo Cole's web site, I get different results, depending on
whether or not the proxy is used, and depending on the exact URL used (2
redirections from the published URL). I suspect that this is either a
misconfigured server at geocities, or a misconfigured proxy at my ISP.

When NOT using the proxy, the page loads normally, after the redirections.
When using the proxy, I get 4 behaviors, as follows:

1. http://www.acyc.com/
I get a page from geocities stating www.geocities.com/~acyc/ does not exist.

2. http://www.geocities.com/~acyc/
I get a page from geocities stating www.geocities.com/~acyc/ does not exist.

3. http://www.geocities.com/%7Eacyc/
I get a page from geocities stating www.geocities.com/Eureka/Plaza/4918/
does not exist.

4. http://www.geocities.com/Eureka/Plaza/4918/
I get the page without problem.  This is the same page I get with
http://www.acyc.com/ when not using the proxy.

There is first a 302 temporary redirection to
http://www.geocities.com/~acyc/ , then a 301 permanent redirection. I
really don't understand the 301 to what looks like the same address in
the trace file, but actually goes to the address in the above paragraph.
The following is a diff of the trace files (from SunOs lynx2.7.2), first
with the proxy, then without. Any insight into what is going on would be
appreciated.
                             Doug


17c17
< New anchor 1d9718 has hash 70 and address `http://www.acyc.com/'
---
> New anchor 1d9700 has hash 70 and address `http://www.acyc.com/'
22a23,25
> Looking up www.acyc.com.
> HTParseInet: Parsed address as port 80, IP address 205.229.232.4
> Making HTTP connection to www.acyc.com.
24,33d26
< HTParse: result:http
< proxy server found: http://192.160.13.9:80/
< HTParse: aName:http://192.160.13.9:80/http://www.acyc.com/   relatedName:http:
< HTParse: result:http
< HTParse: aName:http://192.160.13.9:80/http://www.acyc.com/   relatedName:
< HTParse: result:192.160.13.9
< Looking up 192.160.13.9.
< HTParseInet: Parsed address as port 80, IP address 192.160.13.9
< Making HTTP connection to 192.160.13.9.
< HTParse: aName:http://192.160.13.9:80/http://www.acyc.com/   relatedName:
35c28
< HTParse: result:/http://www.acyc.com/
---
> HTParse: result:/
38c31
< HTParse: aName:http://192.160.13.9:80/http://www.acyc.com/   relatedName:
---
> HTParse: aName:http://www.acyc.com/   relatedName:
40,41c33,34
< HTParse: result:/http://www.acyc.com/
< HTParse: aName:http://192.160.13.9:80/http://www.acyc.com/   relatedName:
---
> HTParse: result:/
> HTParse: aName:http://www.acyc.com/   relatedName:
43,45c36
< HTParse: result:http://www.acyc.com/
< HTParse: aName:http://192.160.13.9:80/http://www.acyc.com/   relatedName:
< HTParse: result:192.160.13.9
---
> HTParse: result:
48,53d38
< HTParse: aName:http://www.acyc.com/   relatedName:
< 1
< HTParse: result:/
< Composing Authorization for www.acyc.com:80//
< HTAASetup_lookup: No template matched `/' (so probably not protected)
< HTTP: Not sending authorization (yet).
55,57c40,42
< Composing Proxy Authorization for 192.160.13.9:80/http://www.acyc.com/
< HTAASetup_lookup: No template matched `http://www.acyc.com/' (so probably not 
protected)
< HTTP: Not sending proxy authorization (yet).
---
> Composing Authorization for www.acyc.com:80/
> HTAASetup_lookup: No template matched `' (so probably not protected)
> HTTP: Not sending authorization (yet).
59c44
< GET http://www.acyc.com/ HTTP/1.0
---
> GET / HTTP/1.0
74c59
< HTTP: Rx: HTTP/1.0 302 Moved Temporarily 
---
> HTTP: Rx: HTTP/1.1 302 Moved Temporarily 
77c62
< HTTP/1.0 302 Moved Temporarily
---
> HTTP/1.1 302 Moved Temporarily
91c76
< New anchor 1d98c0 has hash 88 and address `http://www.geocities.com/~acyc'
---
> New anchor 1d9918 has hash 88 and address `http://www.geocities.com/~acyc'
96a82,84
> Looking up www.geocities.com.
> HTParseInet: Parsed address as port 80, IP address 209.1.224.12
> Making HTTP connection to www.geocities.com.
98,107d85
< HTParse: result:http
< proxy server found: http://192.160.13.9:80/
< HTParse: aName:http://192.160.13.9:80/http://www.geocities.com/~acyc   
relatedName:http:
< HTParse: result:http
< HTParse: aName:http://192.160.13.9:80/http://www.geocities.com/~acyc   
relatedName:
< HTParse: result:192.160.13.9
< Looking up 192.160.13.9.
< HTParseInet: Parsed address as port 80, IP address 192.160.13.9
< Making HTTP connection to 192.160.13.9.
< HTParse: aName:http://192.160.13.9:80/http://www.geocities.com/~acyc   
relatedName:
109c87
< HTParse: result:/http://www.geocities.com/~acyc
---
> HTParse: result:/~acyc
112c90
< HTParse: aName:http://192.160.13.9:80/http://www.geocities.com/~acyc   
relatedName:
---
> HTParse: aName:http://www.geocities.com/~acyc   relatedName:
114,115c92,93
< HTParse: result:/http://www.geocities.com/~acyc
< HTParse: aName:http://192.160.13.9:80/http://www.geocities.com/~acyc   
relatedName:
---
> HTParse: result:/~acyc
> HTParse: aName:http://www.geocities.com/~acyc   relatedName:
117,119c95
< HTParse: result:http://www.geocities.com/~acyc
< HTParse: aName:http://192.160.13.9:80/http://www.geocities.com/~acyc   
relatedName:
< HTParse: result:192.160.13.9
---
> HTParse: result:~acyc
122,127d97
< HTParse: aName:http://www.geocities.com/~acyc   relatedName:
< 1
< HTParse: result:/~acyc
< Composing Authorization for www.geocities.com:80//~acyc
< HTAASetup_lookup: No template matched `/~acyc' (so probably not protected)
< HTTP: Not sending authorization (yet).
129,131c99,101
< Composing Proxy Authorization for 
192.160.13.9:80/http://www.geocities.com/~acyc
< HTAASetup_lookup: No template matched `http://www.geocities.com/~acyc' (so 
probably not protected)
< HTTP: Not sending proxy authorization (yet).
---
> Composing Authorization for www.geocities.com:80/~acyc
> HTAASetup_lookup: No template matched `~acyc' (so probably not protected)
> HTTP: Not sending authorization (yet).
133c103
< GET http://www.geocities.com/~acyc HTTP/1.0
---
> GET /~acyc HTTP/1.0
146,148c116,118
< HTTP: Read 1023
< Read 1023 bytes of data.
< HTTP: Rx: HTTP/1.0 404 File Not Found 
---
> HTTP: Read 364
> Read 364 bytes of data.
> HTTP: Rx: HTTP/1.1 301 Moved Permanently 
150a121,128
> HTTP/1.1 301 Moved Permanently
> HTTP/1.1 301 Moved Permanently
> HTTP: Picked up location 'http://www.geocities.com/~acyc/'
> HTAccess:  status=29996
> HTAccess: 'http://www.geocities.com/~acyc' is a redirection URL.
> HTAccess: Redirecting to 'http://www.geocities.com/~acyc/'
> 
> getfile: getting http://www.geocities.com/~acyc/
152c130,131
< Alert!: HTTP/1.0 404 File Not Found
---
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> HTParse: result:www.geocities.com
153a133,181
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> HTParse: result:
> Entered HTAnchor_findAddress
> New anchor 1d99c0 has hash 8 and address `http://www.geocities.com/~acyc/'
> HTAccess: loading document http://www.geocities.com/~acyc/
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:file:
> HTParse: result:http
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> HTParse: result:www.geocities.com
> Looking up www.geocities.com.
> HTParseInet: Parsed address as port 80, IP address 209.1.224.11
> Making HTTP connection to www.geocities.com.
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> 1
> HTParse: result:/~acyc/
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> HTParse: result:www.geocities.com
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> 1
> HTParse: result:/~acyc/
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> 1
> HTParse: result:~acyc/
> HTParse: aName:http://www.geocities.com/~acyc/   relatedName:
> HTParse: result:www.geocities.com
> LYCookie: Searching for 'www.geocities.com:80', '/~acyc/'.
> Composing Authorization for www.geocities.com:80/~acyc/
> HTAASetup_lookup: No template matched `~acyc/' (so probably not protected)
> HTTP: Not sending authorization (yet).
> Writing:
> GET /~acyc/ HTTP/1.0
> Host: www.geocities.com
> Accept: text/html, text/plain, application/x-troff-man, text/sgml, */*;q=0.01
> Accept-Encoding: gzip, compress
> Accept-Language: en
> Negotiate: trans
> User-Agent: Lynx/2.7.2 libwww-FM/2.14
> 
> ----------------------------------
> Sending HTTP request.
> HTTP: WRITE delivered OK
> HTTP request sent; waiting for response.
> HTTP: Trying to read 1023
> HTTP: Read 536
> Read 536 bytes of data.
> HTTP: Rx: HTTP/1.1 200 OK 
> HTTP: Scanned 2 fields from line_buffer
> --- Talking HTTP1.
> HTTP/1.1 200 OK
157c185
< HTMIME:  Date: Fri, 06 Mar 1998 01:50:26 GMT
---
> HTMIME:  Date: Fri, 06 Mar 1998 01:44:26 GMT
159c187,191
< Set-Cookie: GeoId=19214375889149026163; domain=.geocities.com; path=/; 
expires=Sun, 05-Mar-00 01:50:26 GMT
---
> Set-Cookie: GeoId=19215344889148667699; domain=.geocities.com; path=/; 
> expires=Sun, 05-Mar-00 01:44:27 GMT
> Last-Modified: Wed, 18 Feb 1998 00:08:10 GMT
> ETag: "1234ea-1a34-34ea266a"
> Content-Length: 6708
> Accept-Ranges: bytes
163,182c195,199
< <html>
< <head>
< <title>
< Oops!  We couldn't find that file.
< </title>
< </head>

__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]