[squid-users] problem with header Location in php (squid related)

From: Marc cdmon.com <marc_at_hispahard.com>
Date: Tue, 12 Aug 2008 18:38:03 +0200

Hello,

I'm not using squid, but I'm in trouble with it, I explain:
In our website we have a redirection from http to https, with a
header("Location:..") in PHP. The problem comes with few 404 errors that
we got, and we have no idea from where come and why come, I paste here
the information:

1rt 404:

'HTTP_VIA' => '1.1 nickel.onspeed.com:3128 (squid/2.6.STABLE18)',
'REDIRECT_URL' => '/https://www.oursite.com',

2nd 404:

'HTTP_VIA' => '1.1 nickel.onspeed.com:3128 (squid/2.6.STABLE18)',
'REDIRECT_URL' => '/https://https://www.oursite.com/https://www.oursite.com',

3rd 404:

'HTTP_VIA' => '1.1 nickel.onspeed.com:3128 (squid/2.6.STABLE18)',
'REDIRECT_URL' => '/https://https://www.oursite.com/https://https://www.oursite.com/https://https://www.oursite.com/https://www.oursite.com',

4th 404:

'REDIRECT_URL' => '/https://https://www.oursite.com/https://https://www.oursite.com/https://https://www.oursite.com/https://https://www.oursite.com/https://https://www.oursite.com/https://https://www.oursite.com/https://https://www.oursite.com/https://www.oursite.com',
'HTTP_VIA' => '1.1 nickel.onspeed.com:3128 (squid/2.6.STABLE18)',
  

and the one more:

1st 404:

'HTTP_VIA' => '1.0 HAVP, 1.0 ipcop.localdomain:800 (squid/2.6.STABLE20)',
'REDIRECT_URL' => '/https://www.oursite.com/',

2nd 404:

'HTTP_VIA' => '1.0 HAVP, 1.0 ipcop.localdomain:800 (squid/2.6.STABLE20)',
'REDIRECT_URL' => '/https://www./oursite/.com/https://www./oursite/.com/https://www./oursite/.com/',

The only one point that all this 404 has is the (squid/2.6.STABLE20) version, we don't have more information.
Maybe squid is looping arround the redirection?

If you want to do a testlive to see what happend, the domain is http://www.cdmon.com

Thanks in advance!
Marc
Received on Tue Aug 12 2008 - 16:38:13 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 13 2008 - 12:00:03 MDT