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