MahmoudAdelAli's avatar

pictures no visible after upload on server

hello , i have issue after many times to search and call the support and change directories and all permissions is 777 and the uploaded image not visible unlike the old image or uploaded with the web app and it works good i local host the path

http://twaqahacademy.com/twaqah-gold/twaqah/public/storage/uploads/teachers/accepted/bicinyr/Os3uaf2mtMn3YDYbTAwyRyGkn5zYlMgdBdCHBS1E.jpg

but not found , but it uploaded - i use storage link and it already linked

0 likes
6 replies
MahmoudAdelAli's avatar

i solve it with delete the storage and link it manual - but still have a problem here is

Forbidden

You don't have permission to access this resource.
MahmoudAdelAli's avatar
MahmoudAdelAli
OP
Best Answer
Level 5

first think the storage link in centos must be a manual

ln -s storage/app/public storage

second think every file will be forbidden it's from the vps or host provider and they solve it

Snapey's avatar

because your hosting is flucked up. You should not see public in your URLs.

Set the public folder as the document root

1 like
MahmoudAdelAli's avatar

@Snapey the host support have change the owner to apache and that solve every thing - i use public here cause this copy of project just for test , but after that i'll edit the .htaccess an main the root folder is public or i misunderstand

Please or to participate in this conversation.