This comment may be a bit late, but it may help. I had the same problem when routing to a different view:
Route::get('index', function () { return view('index'); }); Route::get('login', function () { return view('login'); });
But it didnβt work, so I tried everything I found in all the related messages, but this was not enough to solve my problem, so I found these lines on httpd.conf:
<Files ".ht*"> Require all denied </Files>
So, I changed "denied" to "provided", and also commented on this line on my .htaccess:
And working! I think that these lines cause Apache not to consider your project's .htaccess file, so turning it into a provided one made a difference. Hope this helps someone with the same issue.
Work with Apache Server 2 @Manjaro Linux (based on Archlinux)
Luis Torres Sep 13 '16 at 22:45 2016-09-13 22:45
source share