after login submit 404 error in laravel code example Example: laravel login shows 404 #enable rewrite modules on apache2 sudo a2enmod rewrite