Laravel Solution-403 Forbidden for Permission to access / on this server

0
88

Screen Display 403 Forbidden when trying to access Laravel projects.

Create and put this .htaccess file in your laravel installation folder.

Check your virtual host configuration. For Ubuntu you could find it at /etc/nginx/sites-available/yourlaravel.conf It should be like this:

The key line is Require all granted inside <Directory>

1.Update your Virtual Host.

2. Change the file Permission and Ownership.