Before doing anything else, check if the mod_rewrite is enabled in apache. cd /etc/apache2/sites-available/ sudo a2enmod rewrite sudo service apache2 restart There is a good chance that your error is gone!
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
Giving the right permissions to the files in a Laravel project is important. This will not only restrict the unauthorized access but also make sure that you do not get the file permission errors. Many a times, inexperienced developers grant 777 permissions to all the folders in the Laravel project thereby compromising the security. On