Search code examples
phpapache2virtual-machinepng

Apache2 does not show .png images


I just started migrating my code to the google cloud. The server runs Ubuntu but does not display my images (.png).

http://example.com/icons/logo.png

When I open the console and open the link address directly I receive a 404 not found; but when I just go to `http://example.com/icons``I receive a 403 Forbidden message.

Could it be the case that some permissions for the folder/images are not set correctly? How can display my images?


Solution

  • For anyone who might have a similar issue - I have found this thread and changing the folder name from "icons/" to "images/" resoled the problem, the question of why this happens still remains...