我的网站的error.log文件说
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., referer: http://URL/TO/REFERER
Run Code Online (Sandbox Code Playgroud)
我的问题是,什么是LogLevel?我用谷歌搜索了它,但似乎我只是得到了关于java的东西.我们的网站是PHP.
更新
我添加LogLevel debug到apache2.conf并重新启动了apache但在错误日志中没有任何不同.
在debian上,编辑/etc/apache2/apache2.conf并添加:
RewriteLogLevel 3
RewriteLog "/var/log/apache2/rewrite.log"
Run Code Online (Sandbox Code Playgroud)
然后重新加载apache:
/etc/init.d/apache2 reload
Run Code Online (Sandbox Code Playgroud)
从浏览器访问您的http网页,如果错误仍然存在,您将在文件中看到有关您的错误的一些信息:
/var/log/apache2/rewrite.log
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
44395 次 |
| 最近记录: |