Reputation: 377
Even though the image I embed in the code exists in its folder in XAMPP, the browser still logs 404 not found. I guess it is a permission issues so I set for all files the mod of 777 and it works. However, I think it is not safe. What permission I need to change so that the browser can access the image and doesn't allow write and execute?
Upvotes: 0
Views: 1692
Reputation: 2204
Standard chmod
for web files is 644
. That will allow the owner to edit/delete, but everyone else only to read.
Upvotes: 1