相关疑难解决方法(0)

如何调试Apache mod_rewrite

mod_rewrite有两个主要问题:

1)当我有一个无效的规则时,没有报告有意义的错误

在此输入图像描述

2)为了可靠地测试每个修改,我必须擦除chrome的缓存.这不是火箭科学,但我必须按Ctrl + Shift + Delete然后单击确定,然后关闭窗口,然后重新加载.

我想看看是否有任何大师愿意分享他们的秘密来有效地管理mod_rewrite代码.

apache mod-rewrite

166
推荐指数
4
解决办法
18万
查看次数

请求超出了10个内部重定向的限制

我的网站在最近几天放慢了速度.我查看了我的错误日志,发现了很多这些:

[Mon Sep 30 00:09:53 2013] [error] [client 66.249.66.205] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Mon Sep 30 00:09:53 2013] [debug] core.c(3120): [client 66.249.66.205] r->uri = /home/mysitecom/domains/mysite.com/public_html/index.php
[Mon Sep 30 00:09:53 2013] [debug] core.c(3126): [client 66.249.66.205] redirected from r->uri = /home/mysitecom/domains/mysite.com/public_html/index.php
[Mon Sep 30 00:09:53 2013] [debug] core.c(3126): [client 66.249.66.205] redirected from r->uri = /home/mysitecom/domains/mysite.com/public_html/index.php
[Mon Sep 30 …
Run Code Online (Sandbox Code Playgroud)

php apache error-handling .htaccess codeigniter

16
推荐指数
2
解决办法
7万
查看次数