[squid-users] Squid cannot handle webpage redirect

From: ABOKHALAF, Nassri Abdellatif <naabokhalaf@dont-contact.us>
Date: Fri, 5 Mar 2004 17:05:34 -0000

Hello to all,

I'am having this strange problem with a particular webpage that refuses
to be displayed when using Squid proxy.
Squid does not seems to be able to handle the redirect that the remote
webserver tries to retrieve to the local browser.
It does not send any error message but does not display anything.
When using a browser without proxy everithing work fine.

My system RH9 and squid-2.5.STABLE1-2

Below goes my wget output with use_http=enabled and access.log

Access.log

1078507460.691 718083 10.192.129.12 TCP_MISS/200 1586 GET
http://www.vodafone.pt/main/ - DIRECT/213.30.110.65 text/html
1078508352.022 79 10.192.129.12 TCP_MISS/304 368 GET
http://www.vodafone.pt/NR/vodafone/css/vodafone.css -
DIRECT/213.30.110.65 -

wget -d -v http://www.vodafone.pt

[prima@proxy dona]# wget -d -v http://www.vodafone.pt
DEBUG output created by Wget 1.8.2 on linux-gnu.

--17:27:21-- http://www.vodafone.pt/
           => `index.html.23'
Connecting to 10.192.32.241:8080... connected.
Created socket 3.
Releasing 0x8080968 (new refcount 0).
Deleting unused 0x8080968.
---request begin---
GET http://www.vodafone.pt/ HTTP/1.0
User-Agent: Wget/1.8.2
Host: www.vodafone.pt
Accept: */*

---request end---
Proxy request sent, awaiting response... HTTP/1.0 302 Moved Temporarily
Set-Cookie: www_vdf=375892160.20480.0000; expires=Fri, 05-Mar-2004
17:48:42 GMT; path=/

Stored cookie www.vodafone.pt 80 / permanent 0 Fri Mar 5 17:48:42 2004
 www_vdf 375892160.20480.0000
Date: Fri, 05 Mar 2004 16:53:40 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Last-Modified: Fri, 05 Mar 2004 16:53:40 GMT
Location: /main/
Content-Length: 127
Content-Type: text/html
Set-Cookie: ASPSESSIONIDCSRTDTQS=DIDNEEPDDICPMALPIPOJLBNB; path=/

Stored cookie www.vodafone.pt 80 / nonpermanent 0 Thu Jan 1 00:59:59
1970
 ASPSESSIONIDCSRTDTQS DIDNEEPDDICPMALPIPOJLBNB
Cache-Control: private
X-Cache: MISS from proxy.refer.pt
Proxy-Connection: close

Location: /main/ [following]
Closing fd 3
--17:27:21-- http://www.vodafone.pt/main/
           => `index.html.23'
Connecting to 10.192.32.241:8080... connected.
Created socket 3.
Releasing 0x8080968 (new refcount 0).
Deleting unused 0x8080968.
---request begin---
GET http://www.vodafone.pt/main/ HTTP/1.0
User-Agent: Wget/1.8.2
Host: www.vodafone.pt
Accept: */*
Cookie: ASPSESSIONIDCSRTDTQS=DIDNEEPDDICPMALPIPOJLBNB;
www_vdf=375892160.20480.0000

---request end---
Proxy request sent, awaiting response... HTTP/1.0 200 OK
Set-Cookie: www_vdf=375892160.20480.0000; expires=Fri, 05-Mar-2004
17:48:42 GMT; path=/
Deleted old cookie (to be replaced.)

Stored cookie www.vodafone.pt 80 / permanent 0 Fri Mar 5 17:48:42 2004
 www_vdf 375892160.20480.0000
Date: Fri, 05 Mar 2004 16:53:40 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Last-Modified: Fri, 05 Mar 2004 16:53:41 GMT
Content-Length: 28725
Content-Type: text/html
Cache-Control: private
X-Cache: MISS from proxy.xxx.pt
Proxy-Connection: close

Length: 28,725 [text/html]

 0% [
] 0 --.--K/s ETA --:--^
Received on Fri Mar 05 2004 - 10:12:02 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:01 MST