I am currently working with the Uniform Server and I would like to learn how to apply an AddType to it, so that my custom fonts, (i.e. a .otf font), is registered when I use that font on my PHP pages. This is the message I get via my console log via Google Chrome, when I am using my custom font...
Resource interpreted as Font but transferred with MIME type application/x-font-otf: htt://.../mfont.otf
I did some digging, and so far came up with the following line that needs to be integrated...
AddType application/x-font-otf
But I'm clueless on where to put, or how to fix issues like this. But I want to learn!
Thanks for any advice!
Insert
AddType application/x-font-otf
in
If you are using xampp C:/xampp/htdocs/xampp/apace/conf/httpd.conf
Still Not working
AddType font/opentype
Look for a file named "httpd.conf" and put it inside that file. I have no experience on Uniform Server but since it's running Apache, putting the line inside the apache httpd.conf file should work.