Monday, July 27, 2020

Azure App Service , The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

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