This works correctly. But the line above does not. When requesting `/app.php` only it gives "Too many redirects".