I have an application hosted within another website using IIS 8.0 [like so](https://i.stack.imgur.com/WoST4.png) (In case it's relevant, it's an Angular 2 project using CLI and Webpack). I'm hosting my app at https://example.org/MyApp. Unfortunately, when I try to run the site, I receive a 404 error for each file I have referenced. The browser is trying to look for my files at https://example.org/file.jpg when they are actually hosted at https://example.org/MyApp/file.jpg. Is there any way to tell IIS to search for these files in the subdirectory instead of the root folder?

As a note, Webpack uses relative file paths for all bundling, so changing these file paths to be absolute is not feasible.