This could happen if the redirectio rule .htaccess is placed in the root folders. The .htaccess in the "/" or "/home", in the low level directory path has high precedence that in the higher one. Do, if an redirection rule like, kept in the "/" can cause this error
=-=-=-=--=-=-=
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
-=-==-=-=-=-=-
as .htaccess in "/" has higher precedence over higher ones.
LimitInternalRecursion prevents the server from crashing when entering an infinite loop of internal redirects or subrequests, which can cause misconfiguration. This parameter can be added with the below command,
==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
LimitInternalRecursion number [number]
Ex:-LimitInternalRecursion 5
===-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=--=-=-=
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
-=-==-=-=-=-=-
as .htaccess in "/" has higher precedence over higher ones.
LimitInternalRecursion prevents the server from crashing when entering an infinite loop of internal redirects or subrequests, which can cause misconfiguration. This parameter can be added with the below command,
==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
LimitInternalRecursion number [number]
Ex:-LimitInternalRecursion 5
===-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-