Take a look at the following website in Chrome and you will see in the console two warnings saying "Resource interpreted as font but transferred with MIME type text/html …":
When I then use Chromes Network and right click on either of the woff files to view the response headers I can see the server is responding to the client with:
HTTP/1.1 200 OK
Date: Sun, 10 Jun 2012 10:47:06 GMT
Last-Modified: Tue, 6 Mar 2012 22:53:32 GMT
Expires: Mon, 11 Jun 2012 10:47:06 GMT
Cache-Control: public, max-age=86400
Keep-Alive: timeout=1, max=98
Content-Type: text/html; charset=UTF-8
I need it to respond with /application/x-font-woff to get rid of these warnings. I have tried placing the following in the domains .htaccess file and in the servers /etc/httpd/conf/httpd.conf file:
AddType application/x-font-woff woff
I have also tried adding the following to /etc/httpd/conf/mime.types:
I’ve restarted the http service after any changes but I am still getting this error.
Anyone got any advice on how I get the server to return the correct response?