[opencms-dev] favicon.ico integration

Bernd Wolfsegger bw at code-create.com
Tue Sep 13 16:49:00 CEST 2005


Hi Torsten,

after upload of the ico you have to set the ressourcetype in OpenCms to 
"image" (leftclick mouse on the ressourcesymbol --> change type). by default 
its plain, if I remeber correctly.

Kind regards, Bernd

On Tuesday, 13. September 2005 16:24, Thorsten Duhn wrote:
> Hello,
>
> I have a problem in a OpenCms 6.0 app. I want a favicon.ico
> integrated into that site so I put an icon in root dir of the
> site and it can be requested. This works well, but I cannot
> get the correct mime type for this file. I added into web.xml
> (tried both, Tomcat and "opencms/WEB-INF/web.xml"):
>
>     <mime-mapping>
>         <extension>ico</extension>
>         <mime-type>image/x-icon</mime-type>
>     </mime-mapping>
>
> but everything I get is
>
>     HTTP/1.1 200 OK
>     Server: OpenCms/6.0.0
>     Content-Type: text/html;charset=UTF-8
>     Content-Length: 3638
>     ...
>
> I also looked at http://www.alkacon.com/favicon.ico and
> http://www.opencms.org/favicon.ico, but got text mime as well.
> Searching for "binary mime" in mailing list archive leads to
> above solution ("Problem with binary files with IE"), but this
> does not work for me.
>
> Any suggestions?
>
> Regards,
> Thorsten
>
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev

-- 

[  Code Create
[  Web Content Management and Presentation


[  Bernd Wolfsegger
[  Sun Certified Programmer for Java(TM) 2 Platform


[  Contact in Germany
[
[  Lohmeyerstrasse 13
[  10587 Berlin
[  Germany
[  Fon +49 (0)30 26555788
[  Fax +49 (0)30 2651835
[  Mobile +49 (0)163 6505622

[  Contact in Kenya
[
[  P.O. Box 890
[  V/Market
[  00621 Nairobi
[  Kenya
[  Mobile +254 (0)720 481053

[  bw at code-create.com
[  http://www.code-create.com/




More information about the opencms-dev mailing list