Hello,
Am Dienstag, 28. Februar 2012 schrieb Sonam Penjor:
> However, after some time, the following
> error occurs in chrome : *
> "This webpage has a redirect loop*
> The webpage
> at*http://localhost/pa/trunk/create-bulkmailbox.php?filecsv=postfixadm
> in&line_no=309&execTime=26.59564614296*has resulted in too many
> redirects.
> I am stuck with the above problem. I am even thinking of creating
> .htaccess file but I am not quite sure whether this will overcome the
> problems.
This looks like a browser-side restriction to me [1], so you probably
won't be able to solve it on the server side.
I'd try client-side redirects using a meta header like
<meta http-equiv="refresh" content="0; url=http://example.com/">
(should also work with url="file.php?foo=bar" without giving the
complete URL)
If you want to make it even nicer, use some javascript to display a nice
progress bar and do Ajax requests in background. Unfortunately, this
also means more coding etc. - so if the meta tag works, just use it ;-)
Regards,
Christian Boltz
[1] Restricting the number of redirects makes sense in most cases
(because there could be an endless redirect loop) - but in this case
it bites us ;-)
--
Nur beim Account meines Hundes (der ist mein Test-User)
sind alle Desktop-Icons weg [...]
Aber der geht eh nicht so oft an den Rechner.
[Bernd Kloss in suse-linux]
|