Drupal on Microsoft Azure (IIS)

font-faces & file formats

One of our latest projects, will be distribute on a Microsoft Azure - Website using Acquia Drupal.

We just recognised, that the IIS do not serve all font formats correctly. In order to enable the font file support make sure to add the following line to the web.config between system.webServer in the Drupal root.


<staticContent>
<mimeMap fileExtension=".woff" mimeType="application/x-woff" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
</staticContent>

Tags: 
Drupal 7
IIS
Microsoft Azure
Font-Face