Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am having a strange problem here:

I have this wordpress site on a redhat machine, under a 'themes/images' folder, there are a bunch of images.

They all have the same permisstions:

-rw-r--r--. 1 me apache   3633 Sep 19 16:42 image-1.png
-r--r--r--. 1 me apache 100415 Sep 19 16:42 image-2.png
-rw-r--r--. 1 me apache 101350 Sep 19 16:42 image-3.png

etc, etc.

All other images can be served, i.e. shown in a browser, except one of them. I got error: "Forbidden. You don't have permission to access (file path) on this server".

I have opened this image in a image viewer (I am on a GUI based Linux box hence I have the luxury of GUI tools). This image gets shown OK. Plus, I have tried uploading the file again and again. This file can also be viewed on Windows. This ruled out the possibility of file corruption during SFTP (I use winscp).

Anyone has ANY idea why this file cannot be shown in a browser?

share|improve this question

migrated from webapps.stackexchange.com Sep 19 '13 at 17:43

This question came from our site for power users of web applications.

add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.