0
我想讓我的Cherokee爲我的xml文件提供特定的MIME類型。現在它只爲所有xml文件提供mimetype application/xml。將特定文件映射到Cherokee中的特定MIME類型
在Apache中,可以在/etc/apache2/apache2.conf中寫入以下內容。
<directory dir>
AddType application/a a.xml
AddType application/b b.xml
AddType application/c c.xml
AddType application/d d.xml
</directory>
因此,例如dir/a.xml總是得到內容類型application/a。我可以在切諾基做類似的事嗎?