I have dabbled with html in the past and to a very small degree some CSS. All i am trying to do at this moment is have a website/webserver which stores one image. (The image will be retrieved by an Android game i have developed)
I have made a very simple index.html just for the sake of it really (and because after uploading my image to the server, I got the error: FORBIDDEN 404)
so long story short, there is a link on the index.html to the image url. If I load the page then click the link the image loads up and I can see the url is what I expected it to be. But if I type the URL into browser directly it doesn't display (gives 404 FORBIDDEN) -- of course the game isn't able to retrieve it either as I have tested.
I have checked the Permissions of the files and folders. They were all on 755. But I read somewhere maybe it was better the actual files go onto 644, which is how I currently have it (so folders 755 / files 644). Neither way did it work.
Strangely, sometimes if I type the full image url INCLUDING www. at front, it sometimes loads ?!?!???