云虚拟主机如何支持RAR和ZIP等压缩文件下载
云虚拟主机默认不支持压缩包类型文件下载,如需下载请到控制台添加MIME类型即可。
常见文件后缀以及对应MIME类型:
扩展名 | 类型 |
---|---|
.doc | application/msword |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
.rtf | application/rtf |
.xls | application/vnd.ms-excel application/x-excel |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
.ppt | application/vnd.ms-powerpoint |
.pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
.pps | application/vnd.ms-powerpoint |
.ppsx | application/vnd.openxmlformats-officedocument.presentationml.slideshow |
application/pdf | |
.swf | application/x-shockwave-flash |
.dll | application/x-msdownload |
.exe | application/octet-stream |
.rar | application/octet-stream |
.zip | application/x-zip-compressed |
.mp3 | audio/mpeg |
.bmp | image/bmp |
.gif | image/gif |
.xml | text/xml |
云虚拟主机如何支持RAR和ZIP等压缩文件下载由标庄商标转让网发布,标庄商标:https://www.biaozhuang.com