My laravel installation was working fine yesterday but today I get the following error:
Forbidden
You don\'t have permission to access / on this server.
Ad
First, update your Virtual Host configuration;
ServerName example.com
DocumentRoot /var/www/html/example-project/public
AllowOverride All
Require all granted
Then, change both permission and ownership of the asset as illustrated below.
$ sudo chgrp -R www-data /var/www/html/example-project
$ sudo chmod -R 775 /var/www/html/example-project