Hello,
Does anyone know, how to set a content type for resources in CMS ?
I have found file $JBOSS_HOME/server/default/deploy/jboss-web.deployer/conf/web.xml, where I can find:
<!-- ===================== Default MIME Type Mappings =================== --> <!-- When serving static resources, Tomcat will automatically generate --> <!-- a "Content-Type" header based on the resource's filename extension, --> <!-- based on these mappings. Additional mappings can be added here (to --> <!-- apply to all web applications), or in your own application's web.xml --> <!-- deployment descriptor. --> <mime-mapping> <extension>abs</extension> <mime-type>audio/x-mpeg</mime-type> </mime-mapping> . . .
<mime-mapping> <extension>3gp</extension> <mime-type>video/3gpp</mime-type> </mime-mapping>