知识库

查找有关信息特性、故障排除指南、
以及关涉虚拟主机服务其他技术信息的文章。

How to add file extension to MIME types?

引用:
MIME MIME types add file extension file extension

You can add an extension to mime types with the help of .htaccess file. For example, if you need to configure your server to display ASX files, the following line should be added:

AddType video/x-ms-asf asf asx
Another example is for Windows Media Audio files (WMA):
AddType audio/x-ms-wma .wma

A longer list of available types can also be found here.