我的cakephp应用程序给了我这个错误:
[Tue Oct 16 14:31:10.079872 2018] [core:error] [pid 30667] [client ::1:56973] 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., referer: http://localhost/carte_drin/index.php
我通过以下方式配置了.htaccess:
/ www /:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
www / carte_drin / app:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
www / carte-drin / app / webroot:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
</IfModule>
我在core.php中未注释此语句:
Configure::write('App.baseUrl', '/carte_drin/');
错误仍然存在。
我错过了什么还是做错了什么?欢迎您的回答和最终帮助。
最佳