Resource interpreted as image but transfered with MIME type text/html

The question was asked: 6 years 7 months ago   views: 9
0

resource interpreted as image but transfered with MIME type text/html: address of the main page

On the website there is this inscription, in chrome developer tools. All dug up. Can not understand what is not pointed out. It is clear from the text that the page type is specified as image, but where to dig I do not understand. And why is the address of the main page always. Tell me, please.

Asked: Nicolas Chabanovsky Nicolas Chabanovsky 06-09-2012 в 12:00:48
It's all good. Don't worry :) - Антон Мухин Антон Мухин 06-09-2012 в 12:52:43
And I would translate differently: Resource interpreted (recognised) as a picture, but the specified MIME type is "text/html". Therefore, we can assume that You have something wrong in the settings of mime types on the server. In apache they are written in ..\Apache Software Foundation\Apache2.2\conf\mime.types - Dobby007 Dobby007 06-09-2012 в 14:18:26

Answers   1

0

If php try to send content type, possibly in the settings of the web server are sending content type as a picture, but this is unlikely.

header("Content-type: text/html;");
Answered: ViruSkin ViruSkin 06-09-2012 в 14:00:45