mercredi 14 octobre 2020

How to fix 403 Forbidden error in laravel application after hosting in a sub domain

I get the 403 Forbidden error when I try to access my Laravel application from my subdomain. enter image description here

My project is outside the public_html file in cPanel in a folder called app. enter image description here

And i have created a symlink to the project public_html by running this code in cPanel terminal enter image description here

ln -s ~/app/public_html/ ~/public_html

And I have set permission 644 to the project directory



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2H0iPm2
via IFTTT

Aucun commentaire:

Enregistrer un commentaire