Err_too_many_redirects

i look the console and redirect itself, always redirect to login, could a bad xampp configuration or htacces maybe?

this is my htacces app

RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]

this is my htacces app/webroot

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