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扩展名.救命?
归档时间: |
|
查看次数: |
8223 次 |
最近记录: |