Search squid archive

Re: 301 Error in squid -> followed by 302

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/10/2014 1:45 a.m., Mr C K wrote:
> When i use squid and get headers like,
> 
> HTTP/1.1 301 Moved Permanently Location: http://www.hotmail.com/
> 
> squid ends up in a endless loop.

Not Squid.

> 
> ERR_TOO_MANY_REDIRECTS

This is a Chrome web browser error.

> 
> Some say to use u url_rewriter or location_rewrite, but how and
> where to read more about this.
> 
> or is it that simple that squid can't handle this type of
> redirect?

There is nothing to "handle" here.

 1a) Squid takes some request from the client and passes it to the
server, which responds with 301.
 1b) Squid takes the 301 and delivers it to the client.

 2a) Squid takes client followup request for the new Location URL and
passes it to the server, which responds with 302 pointing back to the
first URL.
 2b) Squid takes the 302 and delivers it to the client.

 3a) goto 1a.


See the problem?


Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUKrTKAAoJELJo5wb/XPRjm+8IAOLFlk+3kGmePfW8t9rYBqIY
33UslC4XdJ8EiV1aPy0LaZDYfIlnnZL308bVuPJ1Tcsw1nqR4YO7oFrFTHUUWVu2
7KExx5cn47EsCUOrneuL91uxtpYE3RNyith0Vb30PhKo/1gMWw/g+ghx38MVb3ix
yj98emUqy4AZCsza5BZFp1TXMAKNv7rJ3ORhTMoVtWhhBQ39P7MZDFB/TpwUgz7X
lmS+pjdec4nFK5NZwpFvyQnker8ivfCe5lzC9bZfRVTgae5C6G3eX2fqUXn6axr8
mZ3vRQVtX+9KdmJy8UsqPBITEWhQtczOJHnGjpPWgzHYaygHUdsEyfUwdtIPXB4=
=78Ka
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux