404.17添加通配符'*'Mime类型(IIS 7)后显示错误

Con*_*eak 2 iis iis-7 asp-classic mime-types

我试图使domain.com/urlwithoutextension我的Web服务器可以读取无扩展的url()作为.html或.asp文件,我所得到的只是

  HTTP Error 404.17 - Not Found
    The requested content appears to be script and will not
    be served by the static file handler.
Run Code Online (Sandbox Code Playgroud)

然后低于错误它说我可以试试这个: If you want to serve this content as a static file, add an explicit MIME map.

所以我在IIS 7中添加了一个MIME映射..

  Extension: *
  MIME Type: application/octet-stream
Run Code Online (Sandbox Code Playgroud)

但我仍然遇到这个错误.我想做的就是将其domain.com/thisurl视为.html文件,不带.html扩展名.救命?

Con*_*eak 7

我只是将其改为.而不是*MIME类型中的扩展,它完美地工作.感谢评论.