I got problem when accessing public asset on Laravel. I copy and paste an image (app.png) to (app_baru.png) on a same directory (app/public/fe/eduzone/images/). But the new asset is return 404 when being acessed on web browser, meanwhile the old asset is shown normally.
Here is my file permission:
Here is my file shown on web browser:
I've confirm that my storage is pointed to another directory, not to public directory:
I also have done some php artisan command like:
php artisan optimize:clear
php artisan config:clear
php artisan view:clear
php artisan cache:clear
But the asset still not snown on browser.
Please help
CodePudding user response:
Linux is Case Sensitive, try uppercase extention. "app_baru.PNG" See your file name extention.
CodePudding user response:
Try to change the imagename in the storage (in your case media) folder and not in the public folder.