40
虚拟主机怎么支持RAR和ZIP等压缩文件下载

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

填写要访问后缀名以及文件MIME类型,添加即可

image.png

常见文件后缀以及对应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


这条帮助是否解决了您的问题? 已解决 未解决

提交成功!非常感谢您的反馈,我们会继续努力做到更好! 很抱歉未能解决您的疑问。我们已收到您的反馈意见,同时会及时作出反馈处理!