What to fix if routes are returning 404 in a Laravel project

Although all the file / folder permissions appear to be set appropriately and if you are having issues with the routes, try the following. Enable mod_rewrite on the apache server using the following command sudo a2enmod rewrite Edit¬†/etc/apache2/apache2.conf, changing the “AllowOverride” directive for the /var/www directory (which is my main document root): AllowOverride All Restart

Resetting password in Ubuntu

If you have forgotten the user (or root) password on an Ubuntu system, follow these steps and you will be able to login and start using the machine again. When the machine is booting, keep the Shift key pressed; this will invoke the Grub menu. The menu will look something like this. Select the Advanced