404 on page not found in laravel login code example Example: laravel login shows 404 #enable rewrite modules on apache2 sudo a2enmod rewrite