Page 1 of 1

mime.type file location

PostPosted:Tue Apr 22, 2008 1:01 pm
by Hughes
I have a need to upload some .wav files and I am having a hard time finding the mine.type configuration file. AND not sure if it will work since an icon is needed to associate with the file. Any help will be appreciated.

I did read this thread:
http://www.openkm.com/Usage/12-I-need-t ... pe.html#12

Cheerfulness,

Re:mime.type file location

PostPosted:Tue Apr 22, 2008 3:28 pm
by pavila
To add a new MIME type open OpenKM.ear. Inside this file there is an OpenKM.war. Into this file look into /WEB-INF/classes/es/git/openkm/core/. Here is mime.types. Once you have added the new mime type, you need to add an mime type icon. Into OpenKM.war look at /es.git.openkm.frontend.Main/img/icon/mime/. Here you can find all the icons fo the registered MIME types. If you want to add support for WAV files, put the image audio/x-wav.gif.