[opencms-dev] favicon.ico integration
Thorsten Duhn
duhn at regio.uni-oldenburg.de
Wed Sep 14 12:16:02 CEST 2005
Hello,
On Tuesday, 14. September 2005 09:15, Bernd Wolfsegger wrote:
> Hi Thorsten,
>
> you're right. I have tested it again. Just remebered this wrong type
> after upload. But what ever type I set, the icon is there in the url
> line. And I have done nothing additionally on my Tomcat/OpenCms/Apache
> etc. configuration for that. x-icon should be configured there by
> default.
>
> In the HTML I use this two lines and an additional GIF with the same
> picture.
>
> | <link rel="ICON" type="image/gif"
> href="<cms:link>../../resources/img/favicon.gif</cms:link>">
> | <link rel="SHORTCUT ICON"
> href="<cms:link>../../resources/img/favicon.ico</cms:link>">
>
> If it's an IE problem, perhaps the GIF helps ? No time to test it right
> now.
favicons are shown to me, too. But to grant this behaviour in every
browser (that supports favicons), also the mime-type should be correct.
Switching to gif is not really a solution, just a workaround. And when
I cannot get my OpenCms to deliver the correct mime type makes me also
ask, how can I implement support for other file formats? There are
threads about in mailing list archive, suggesting what I've done. But
again, I cannot get this to work. So I believe now, after this postings
in this mailing list, that this a bug or just missing in OpenCms.
I state this as a problem, a bug in OpenCms. There must be a place,
where even OpenCms sends a mime-type for file typess it already knows,
because gif and many else are correct. As far as I found out Tomcat has
nothing to do with it, it seems to just forward the requests. Am I
right? So this part in OpenCms should be configurable.
Regards,
Thorsten
BTW: Why is the only available support a mailinglist? I really prefer
newsgroup or forum, where I can decide, what and how often I read and
where I don't have to quote the whole thread in every mail to avoid,
that everyone has to have every thread in mind or has to read through
his mail archive everytime. I dumped the quote this time, but don't
like it at all, when I refer to something, I said in my first posting
(here about other threads already in mailing list archive).
More information about the opencms-dev
mailing list