Command Line Add woff Mime Type

Easily add in the woff mime-type with the below command:

%systemroot%\system32\inetsrv\appcmd set config /section:staticContent /+"[fileExtension='.woff',mimeType='application/font-woff']"

To note, the above placed the configuration within the applicationHost.config and not in a web.config. As desired in my scenario as I had wanted the configuration to be server wide.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *