Nach einem Update von MAMP funktioniert das Routing von Laravel nicht mehr.
Lösung/Ursache: Das Rewrite-Modul war nicht aktiv.
Pfad zur Config unter Mac: /Applications/MAMP/conf/apache/httpd.conf
…
Main problem of route not working is there is mod_rewrite.so module in macos, linux not enabled in httpd.conf file of apache configuration, so can .htaccess to work. i have solved this by uncomment the line :
# LoadModule rewrite_module libexec/apache2/mod_rewrite.so
Remove the #
from above line of httpdf.conf
. Then it will works.
Quelle:
https://stackoverflow.com/questions/11791375/my-routes-are-returning-a-404-how-can-i-fix-them