在浏览器中增加允许的重定向?

时间:2012-06-18 05:35:23

标签: php redirect browser

我有一个使用大量重定向的脚本。大约一半的过程我在浏览器中收到一条错误消息:

This webpage has a redirect loop
The webpage at http://localhost/....... has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Here are some suggestions:
Reload this webpage later.
Learn more about this problem.
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

有没有办法在浏览器中增加允许的重定向?

1 个答案:

答案 0 :(得分:3)

在Firefox中,导航至地址栏中的about:config。搜索network.http.redirection-limit并将值增加到所需的值。

Firefox中的此设置控制在停止跟踪之前接受的重定向数量。