Have you ensured that your storage folder and all its subfolders are writeable? This could be a permissions problem writing the log entry for the http no found exception when your route fails.
For testing I set storage (and all subfolders+files) to chmod 777. Still same Problem :-(
it´s version 5.5
Refered to this https://stackoverflow.com/questions/17228936/laravel-default-htaccess-file-will-not-work
I added a slash to last line: RewriteRule ^ /index.php [L]
It fixed the internal Server Errors but not the redirect Loop
Try adding this before the rewrite rules.
RewriteBase /
I have found this to be necessary on some hosts.
@spekkionu I´ve added the line - still getting a redirect Loop when typing a url to a folder (e.g. mydomain/images)
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteBase /
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /index.php [L]
</IfModule>
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community