Only in DNN websites on my server I receive 404 errors on woff2 files. In a non-DNN site I can just download the file, no problem. This happens in DNN 9.1.1 (no 3rd party rewrite modules) and in DNN 9.9.0 (both with and without 3rd party rewrites). Its a Windows 2019 server with the newest mimetypes, including woff2 (application/font-woff2) that gets inherited to all my sites. I tried overruling in the web.config... didn't help.
What can be the cause of this?
You don't have woff2 registered so it is not supported. You can either register in IIS or in the web.config of DNN. You need to search for the staticContent part in the web.config and add the woff2. Below an example
Thanks Tycho,
I already mentioned that the mimetype is included in my Windows 2019 server and gets inherited down al my sites.
MIME-types of the localhost:
MIME-types that get inherited down to every site:
This should do the trick, right?
YEAH! Great, thanks a lot, that worked. I will check all my older upgraded sites.
Thanks again!
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.