一两天前,我家里的 PHPMyAdmin 运行正常。现在它给出了一个通用的 500 内部服务器错误,并建议我查看服务器日志。
Apache 日志包含以下错误消息:
[Sun Feb 06 23:38:56 2011] [error] [client ::1] 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.
这就是我被困住的地方。有些东西正在创建一个无限循环,但它会是什么呢?自从 PHPMyAdmin 上次工作以来,我没有对我的设置做任何事情(我能想到的)。我应该在哪里遵循 LimitInternalRecursion 和 LogLevel 调试建议...某种 .htaccess 文件?我不知道在哪里可以找到它。
有人可以提供解决方案或行动方案的指示吗?
编辑:感谢Alvosu,我能够从重写日志中获取一些信息:
::1 - - [07/Feb/2011:09:19:48 --0800] [localhost/sid#10080d720][rid#1009854a8/initial] (3) [perdir /Library/WebServer/Documents/] strip per-dir prefix: /Library/WebServer/Documents/pma/ -> pma/
::1 - - [07/Feb/2011:09:19:48 --0800] [localhost/sid#10080d720][rid#1009854a8/initial] (3) [perdir /Library/WebServer/Documents/] applying pattern '^$' to uri 'pma/'
::1 - - [07/Feb/2011:09:19:48 --0800] [localhost/sid#10080d720][rid#1009854a8/initial] (3) [perdir /Library/WebServer/Documents/] strip per-dir prefix: /Library/WebServer/Documents/pma/ -> pma/
::1 - - [07/Feb/2011:09:19:48 --0800] [localhost/sid#10080d720][rid#1009854a8/initial] (3) [perdir /Library/WebServer/Documents/] applying pattern '(.*)' to uri 'pma/'
::1 - - [07/Feb/2011:09:19:48 --0800] [localhost/sid#10080d720][rid#1009854a8/initial] (2) [perdir /Library/WebServer/Documents/] rewrite 'pma/' -> 'app/webroot/pma/'
::1 - - [07/Feb/2011:09:19:48 --0800] [localhost/sid#10080d720][rid#1009854a8/initial] (3) [perdir /Library/WebServer/Documents/] add per-dir prefix: app/webroot/pma/ -> /Library/WebServer/Documents/app/webroot/pma/
::1 - - [07/Feb/2011:09:19:48 --0800] [localhost/sid#10080d720][rid#1009854a8/initial] (2) [perdir /Library/WebServer/Documents/] strip document_root prefix: /Library/WebServer/Documents/app/webroot/pma/ -> /app/webroot/pma/
有人能解释一下这个问题并帮助我理解吗?