Laravel - Forbidden You don't have permission to access / on this server
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Solution:
Add this code your .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Laravel - Forbidden You don't have permission to access / on this server
Reviewed by TechTubeHQ
on
December 01, 2021
Rating:

No comments: