Skip to content

BUG: 404 for 2 Specific Woff2 Files #159

@WillStrohl

Description

@WillStrohl

I'm seeing the following error a lot in the Admin Log:

HTTP Error Code 404 Page Not Found
[ ... ]
OriginalUrl: /Portals/_default/skins/dnn-community-2024/vendors/fontawesome/webfonts/fa-solid-900.woff2
Referer: https://dnncommunity.org/Portals/_default/skins/dnn-community-2024//vendors/fontawesome/css/all.css?cdv=949
Url: https://dnncommunity.org/Portals/_default/skins/dnn-community-2024/vendors/fontawesome/webfonts/fa-solid-900.woff2

And also the same error for the following file:
/Portals/_default/skins/dnn-community-2024/vendors/fontawesome/webfonts/fa-regular-400.woff2

I took a look at the web.config, and we appear to have the correct entry to support this.

      <remove fileExtension=".woff2" />
      <mimeMap fileExtension=".woff2" mimeType="font/woff2" />

Reference Used:

I also updated the mime type in IIS to match the newer spec that replaced application/font-woff2 (deprecated) and restarted IIS.

Before any of that, I inspected the all.css file to verify the lines where the woff2 references were. I was able to verify that the referenced path appears to be correct and that the file is there.

Despite the files all not being read-only and seeming to have the correct permissions, I re-applied permissions anyway.

After those troubleshooting steps, we're still seeing these errors in the event log over and over. 🤔

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions