laravel log 404 code example Example: laravel login shows 404 #enable rewrite modules on apache2 sudo a2enmod rewrite