[opencms-dev] Re: favicon.ico integration
Thorsten Duhn
duhn at regio.uni-oldenburg.de
Thu Sep 15 08:48:16 CEST 2005
Hello,
>> the MIME-type is handled by OpenCMS directly. Have a look at
>> the file mimetype.properties in opencms.jar, there you can add
>> mimetypes if necessary.
>
> As far as I can tell it is not necessary to modify opencms.jar:
>
> I just did a quick experiment. I extracted
> org/opencms/loader/mimetypes.properties
> from WEB-INF/lib/opencms.jar
> and appended the line:
> ico=image/x-icon
>
> I created WEB-INF/classes/org/opencms/loader and placed the new
> mimetypes.properties there. It overrides the version in the JAR
> file.
thank you very much, this is EXACTLY the information I was looking
for. I had no chance to test by now, but this looks like the clean
and successful way to handle such things. (Maybe in the future this
and properties of VFS may grow together...)
Thanks,
Thorsten
More information about the opencms-dev
mailing list