Mendix and IIS: Atlas Fonts failing to load on subsequent apps
0
Attempting to figure out the mess that Mendix on-premise deployments are. I have 3 applications deployed to a test environment. All three applications are accessible externally and they are correctly working in terms of the exposed/consumed OData services between the apps. However, there are a few quirks I cannot seem to figure out. The biggest quirk is that while the first deployed app works flawlessly (this being the one mapped to port 8080), the other two apps are failing to load the Atlas Font files. I can reach these font's directly via localhost:8081/fonts/... but I cannot access them externally. This tells my the issue has to be an issue with the IIS setup. HOWEVER, as a test I place a simple test.html file into this font/s folder, and I can access that externally. Therefore there CAN'T be an IIS rule effecting this folder path. I have also attempted to modify the src url in the theme.css file, and no combination of paths, both absolute and relative, resolve the issue. I see 404 errors in the Mendix Server Console for JUST the Atlas Fonts. Other font files load correctly and are reachable such as the .woff fonts that are located under "resources/font/...". I have verified both the IIS rewrite rules and the web.config file to make sure nothing was leftover. IIS has the MIME types configured correctly, plus .ttf MIME types are configured by default anyways. I can only assume that the Mendix Runtime is somehow effecting the font files specifically, since I can in fact reach the test.html file externally. Not only that, I CAN reach all other font files in the "fonts/" folder including the other .ttf font. It is ONLY the two Atlas_Core fonts I cannot reach. I attempted to change the file names incase the $ or _ were causing issues, and nothing I tried here fixed it either (encoded the $, remove the $, changed the _ to a -, removed the _ and -). I know it has to be something that Mendix is doing, because when I try to reach the two Atlas fonts I get a Mendix webpage response instead of a prompt to download the font, like what I get with all the other fonts. Any help is IMMENSELY apprecitated. I am not an IIS guru, I just started using it the other week when I was tasked with setting up our on-premise architecture.