iis7 default mime type behavior

后端 未结 3 1138
伪装坚强ぢ
伪装坚强ぢ 2021-01-19 07:50

So in IIS 7 if there is no specific MIME definition for a certain extension, it will refuse to serve it (404) even if you can see it in a directory listing. I\'m sure this

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-19 08:04

    +1 @H2Professor

    But here's the code (in this case web.config for IIS 7+):

    
      
        
          
        
      
     
    

提交回复
热议问题