Azure App Service :
Some Files can not be loaded in your website like Fonts, MP4, Zip , etc. and you get the message :
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Solution -1 >> Add Web,config to your Web site with mimeMap configurations
Solution 2 >> Built-in Azure Solution :
1- Open Azure Portal.
2- Open Your Target App Service.
3- Click Configuration in the left side menu.
4- Click Path Mappings Tab and start adding your mimeMaps
MIME Types List / Reference :
Common MIME types :
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
The official registry of MIME media types By (IANA ) :
http://www.iana.org/assignments/media-types/media-types.xhtml
3 comments:
Solution 1 works, great! Can you specify the Solution 2 in more detail?
In the WebApp > Configuration > Path Handler you can add entries:
New handler mapping
- Extension
- Script processor
- Arguments
So what should be the values, using/overwriting/adding mimeTypes?
Maybe add a screenshot adding .woff2 / .json files?
Thanks for sharing such valuable information.
Great blog.you put Good stuff.All the topics were explained briefly.so quickly understand for me.I am waiting for your next fantastic blog.Thanks for sharing.Any coures related details learn...
EMAIL MARKETING
Post a Comment