[opencms-dev] Adding MIME types to OpenCMS...
Nigel Kersten
nigel at cofa.unsw.edu.au
Thu Jun 29 02:31:12 CEST 2006
On 29/06/2006, at 10:25 AM, Nigel Kersten wrote:
> So I'm a bit confused about adding mime types to an OpenCMS install.
>
> I need to set up mp4 video, and I thought I'd just be able to make
> sure that Tomcat knew about it in web.xml, but that doesn't seem to
> be enough.
>
> Poking around the list has brought up the mimetypes.properties file
> which is inside opencms.jar.
>
> Can I just unzip the jar, edit it, re-zip it and that will be fine?
So I did that and it's all ok.
Shouldn't there be an easier way to do this? Is there some reason why
OpenCMS can't just read the MIME types from Tomcat's web.xml config
file?
Not whinging, just curious.
More information about the opencms-dev
mailing list