Skip to content
Advertisement

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?

Advertisement

Answer

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…

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement