云虚拟主机如何支持RAR和ZIP等压缩文件下载

云虚拟主机默认不支持压缩包类型文件下载,如需下载请到控制台添加MIME类型即可。

常见文件后缀以及对应MIME类型:

扩展名类型
.docapplication/msword
.docxapplication/vnd.openxmlformats-officedocument.wordprocessingml.document
.rtfapplication/rtf
.xlsapplication/vnd.ms-excel application/x-excel
.xlsxapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.pptapplication/vnd.ms-powerpoint
.pptxapplication/vnd.openxmlformats-officedocument.presentationml.presentation
.ppsapplication/vnd.ms-powerpoint
.ppsxapplication/vnd.openxmlformats-officedocument.presentationml.slideshow
.pdfapplication/pdf
.swfapplication/x-shockwave-flash
.dllapplication/x-msdownload
.exeapplication/octet-stream
.rarapplication/octet-stream
.zipapplication/x-zip-compressed
.mp3audio/mpeg
.bmpimage/bmp
.gifimage/gif
.xmltext/xml