Static files (.htm) don't serve from media folders (404)
Can someone help me out here?
I've recently rebuilt my PC and after getting everything back up and running in VS2017, I cannot get my Umbraco build to serve static files from media folders. They just 404!
All fine on our test/production servers. But not working in IIS Express on my dev PC and I cannot seem to workout what i'm missing. Presumably in the applicationHost.config.
I have a number of HTM files which we use in iFrames to stream in some animated SVGs embedded in the HTML.
Static files (.htm) don't serve from media folders (404)
Can someone help me out here?
I've recently rebuilt my PC and after getting everything back up and running in VS2017, I cannot get my Umbraco build to serve static files from media folders. They just 404!
All fine on our test/production servers. But not working in IIS Express on my dev PC and I cannot seem to workout what i'm missing. Presumably in the applicationHost.config.
I have a number of HTM files which we use in iFrames to stream in some animated SVGs embedded in the HTML.
Thanks Martin
Do you have a web.config in your Media folder? Check this...
Hi Dan
Yup the static file handlers are declared there.
JPGs are serving just fine, but .HTM nope!
is working on a reply...