Apache returning text/html on some png files
Posted
by
Oren
on Server Fault
See other posts from Server Fault
or by Oren
Published on 2011-11-20T15:53:02Z
Indexed on
2011/11/20
17:59 UTC
Read the original article
Hit count: 262
I have an Apache web server that has a sub folder for images. For some reason, a few of the .png files are returned as text/html and not as image/png.
There is nothing indicating a permission problem and the files return with code 200 and with full size. I made sure that image/png is set and even tried forcing it with .htaccess
Any idea where to look next?
Edit: looks like an .htaccess configuration problem on a parent directory.
© Server Fault or respective owner