Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Recently I have been trying to install a forum on my website. At first I was having an issue with the forums alone but then I noticed it was occurring elsewhere on my website as well.

When I have added images, they return in a 403 error. The images are there but they refuse to show up.

I have tried it with multiple permissions numbers but every time I get the same result. After further inquiry, I discovered that some images were working. Here are a couple of examples:

Working, 0644 Permissions

Not Working, 0644 Permissions

If you go to the directory that contains both of those images you will also see that no images show up in the directory.

I do not know what's going on. In other parts of the website, images with full 777 permissions are resulting in 403 errors. I have talked with the hosting service but they have just directed me to change permissions, which I have done.

share|improve this question
    
I get a 403 for both those images you linked to. What are the permissions for all the folders in your root directory and sub folders? Then what are the permissions of the images. And what about your .htaccess file is it restricting access to any images? –  Anagio Aug 19 '12 at 0:31
    
Something is strange with your site if I browse the folder I see no images if I go down a level and back up I then see all your images and can click on them and they appear. –  Anagio Aug 19 '12 at 0:33
    
Ah. You see the problem. Well here we go: public_html: 755, /fednet/: 755, /images/: 755 and the images are listed above. Both are 0644. –  Robert Rose Aug 19 '12 at 2:35
    
Do the images display properly in the forum? Is there anything in your .htaccess? Maybe something to do with hot linking... Directory browsing shouldn't be allowed so in your htaccess file set Options -Indexes –  Anagio Aug 19 '12 at 4:23
2  
It did turn out to be hotlink protection! (That is the second time it has messed me up) Thank you for your help! –  Robert Rose Aug 19 '12 at 15:37
show 4 more comments

closed as too localized by danlefree Aug 21 '12 at 20:56

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.