Is the resource interpreted as an image, but passed with text / xml like MIME in xampp?

I have a project without .htaccess (I already found solutions when you have .htaccess in your project) and it does not display my .svg. Normal images are displayed correctly. The error message is as follows:

Resource interpreted as image but transferred with MIME type text/xml.

I am using xampp in osx yosemite version 10.10.1. Can i add

AddType image/svg+xml svg svgz
AddEncoding gzip svgz

somewhere in my xampp?

Thanks in advance!

Edit: I reinstalled xampp and solved the problem. I will leave it open if people come back to this problem again, and one of the answers may be correct.

+4
source share
1 answer

, mime :

xampp\apache\conf\mime.types /etc/httpd/conf/mime.types

, , , mime.types

, , :

image/svg+xml svg svgz

:

1.

2.

0

All Articles