Fórum

Apache and Tomcat+LIferay: problem wiht favicon

Peter Aarum, modificado 10 Anos atrás.

Apache and Tomcat+LIferay: problem wiht favicon

New Member Postagens: 9 Data de Entrada: 02/11/12 Postagens Recentes
Hello all!

First: I am NOT a Apache guru emoticon

I have this setup:
  • Apache in front of Tomcat
  • One theme in Liferay
  • 8 websites

I am using mod_jk as connection between Apache and Tomcat.

My problem:
All sites should have its own favicon

I have set a <VirtualHost with a DocumentRoot that points to a folder containing the favicon for all the sites in httpd.conf
I still end up with the liferay default favicon.

Any ideas?

Br
Peter
Peter Aarum, modificado 10 Anos atrás.

RE: Apache and Tomcat+LIferay: problem wiht favicon (Resposta)

New Member Postagens: 9 Data de Entrada: 02/11/12 Postagens Recentes
Fixed it with this in each VirtualHost entry:
SetEnvIf Request_URI "/favicon.ico*" no-jk

Maybe this can help someone else emoticon

And a hook to "top_head.jsp" to remove the default theme shortcut icon. And ofcourse add a entry in portal_normal.vm as "/favicon.ico"
thumbnail
Michael Saechang, modificado 10 Anos atrás.

RE: Apache and Tomcat+LIferay: problem wiht favicon

Liferay Master Postagens: 576 Data de Entrada: 19/11/07 Postagens Recentes
Thanks for following up Peter! Your information will definitely be helpful to others who run into this problem.