【发布时间】:2016-11-30 10:35:57
【问题描述】:
这是我的 .htaccess 文件:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
我收到 500 内部服务器错误。在此命令之后: cat /var/log/apache2/error.log 我收到了这个错误:
AH00124: 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.
请帮我解决这个问题?
【问题讨论】:
-
那么这个规则不会导致rewrite loop
-
什么版本的apache?