Deploy with FTP I have
Forbidden
You don't have permission to access / on this server.
I don't know if it's the .htaccess or permissions in public/storage folder ?
Ok, so think about this. Re-read what you posted and tell me if you could answer that question without knowing how, when, etc of the deployment.
Excuse my english @ejdelmonico , i want to say :
I deploy my laravel ( on OVH ) but i have
Forbidden
You don't have permission to access / on this server.
message trying to connect on my website
I doubt it's the .htaccess file but it is possible the directories above public are restricted by the host. Just look for an .htaccess file on that level to investigate. The permissions for public/storage and for storage/ should be 755 or rwxr-xr-x.
my .htaccess file :
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ public_html/africanagora/index.php [L]
</IfModule>
The permissions for public/storage and for storage/ are too 755 or rwxr-xr-x.
@ejdelmonico
Did you perform php artisan storage:link? You will need command line access.
The "public/storage" directory already exists.
after running this commande line php artisan storage:link
@ejdelmonico
Please sign in or create an account to participate in this conversation.