DNNCommunity / DNNCommunity/DNNCommunityTheme

BUG: 404 for 2 Specific Woff2 Files

Open
#159 1 comment 0 reactions 1 assignee Claimed by @Timo-Breumelhof View on GitHub
bug
Dominant language
SCSS
Stars
8
Forks
10
PR merge metrics
No merged PRs in 30d

Description

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.

```xml


```

Reference Used:
- https://en.wikipedia.org/wiki/Web_Open_Font_Format

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. 🤔

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.