@hekmatyar
Can you verify and confirm you are following this exactly ?
www <- Laravel root folder
├── app
├── public <- http://localhost/
│ └── storage <- http://localhost/storage links to <──┐
├── vendor │
... │
└── storage │
└── app │
└── public <───────────────────────────────────────┘
When you put /home/domain/www/public/image.png what is the URL you are loading it with?
still 403 after chmod 755
@hekmatyar you need to pay closer attention, I'm about 10 messages from stepping away for good.
Which folder is http://localhost pointing to?
What is the URL you use to load /home/domain/www/public/image.png?
really im tired.. couple days without sleep. how you want to confirm it? (structure/symlink)
env saytome: https://mydomain.com - im using rewriterule to load index.php in '/' from 'public/index.php'
/public/image.png is work
Which folder is your domain pointing to? (Check in the HTTP server or ask your shared hosting)
What is the URL you use to load /home/domain/www/public/image.png? (You must know this, you told me the image loaded properly earlier)
9 messages left.
1.www i said it 4 times in this topic
2.404 because i dont have dir like this
Let's try again
Which folder is your domain pointing to? (Check in the HTTP server or ask your shared hosting)
What is the URL you use to load /home/domain/www/public/image.png? (You must know this, you told me the image loaded properly earlier)
8 messages left.
I have made it extremely clear you need to point your domain to /home/domain/www/public/, please fix.
You say "/public/image.png is work", so what is the URL ?
7 messages left.
I appreciate you wanting to help me but you are not helping at all and stop wasting my time on your games..
The fix is to point your domain to /home/domain/www/public/.
I asked for URL, you gave me a folder public/image.png.
I asked for full folder path, you give me a short www.
You have do to your part and help yourself. I'm out of here.
I was take it all from sharehosting and deploy in localhost changing only .env, and when i start generate links, all images work but not in sharedhost.
Today host send me logs with errors:
" AH00037: Symbolic link not allowed or link target not accessible: /homez.269/domain/www/public/storage"
just serve from under webroot then. Under www just make an images folder, and serve your images.
i changed location of storage to other folder and everything is work (filesystem.php)
@Hekmatyar please, same problem, need help,explicitely how did u change the location of storage to other folder :"Wich one" , if u can an image of the filesystem.php , thank u.
Please sign in or create an account to participate in this conversation.