Slim icon indicating copy to clipboard operation
Slim copied to clipboard

Request exceeded the limit of x internal redirects due to probable configuration error

Open mindyk opened this issue 10 years ago • 1 comments

i got this error in my apache2 error.log while setting up a new vagrant box for my new api project

Server version: Apache/2.2.22 (Debian)

changing the .htaccess from (quoting from http://www.slimframework.com/docs/start/web-servers.html)

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [QSA,L]

to

RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ /index.php/$1 [L,QSA]

fixed it though.

Not sure is this some special edge case but i leave it to you to decide that (- ;

mindyk avatar Mar 01 '16 15:03 mindyk

yeah never mind, it was my fault all along. My .htaccess was not in the web-root folder but one higher. That explains it then. Sry for bothering you

mindyk avatar Mar 01 '16 16:03 mindyk