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