0

I have a website that is running on CentOS 6 and Apache 2. If I try to load any page with PNG images in it the image is shown as a broken link - I get the same issue if I go directly to the image file in the browser. I have tried this in Chrome, Firefox and Safari all with the same results so I am guessing it is server side.

Looking at the apache logs I can see that the file is being served up and returning a http 200 code.

There is an entry for PNG in mime.types and adding the following to httpd.conf makes no difference:

AddType image/png .png

I have also removed the .htaccess to ensure that nothing in there could be affecting it to no avail.

This happens for all PNG files which have the same permissions as the JPEGs that work fine.

Can't think what else to try, any ideas?

4

0 回答 0