Fórumok

Apache and Tomcat+LIferay: problem wiht favicon

Peter Aarum, módosítva 10 év-val korábban

Apache and Tomcat+LIferay: problem wiht favicon

New Member Bejegyzések: 9 Csatlakozás dátuma: 2012.11.02. Legújabb bejegyzések
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, módosítva 10 év-val korábban

RE: Apache and Tomcat+LIferay: problem wiht favicon (Válasz)

New Member Bejegyzések: 9 Csatlakozás dátuma: 2012.11.02. Legújabb bejegyzések
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, módosítva 10 év-val korábban

RE: Apache and Tomcat+LIferay: problem wiht favicon

Liferay Master Bejegyzések: 576 Csatlakozás dátuma: 2007.11.19. Legújabb bejegyzések
Thanks for following up Peter! Your information will definitely be helpful to others who run into this problem.