Add favicon to AEM assets such as pdf / videos | Adobe Higher Education
Skip to main content
Level 2
May 18, 2021
Beantwortet

Add favicon to AEM assets such as pdf / videos

  • May 18, 2021
  • 1 Antwort
  • 1888 Ansichten

Hi Members,

 

we have a site wholly hosted on AEM and apache webserver. We are facing an issue where the web pages are displaying favicon.ico correctly but the same are not getting displayed on pdfs and videos.

On searching online, we found that keeping favicon in root folder should resolve the issue or keeping in /etc/designs/default can help in resolving the issue, but none of them are working.

Due to this issue, we are getting lot of 404 error logs almost 10K per day. Please help in resolving this issue.

 

Thanks in advance.

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von davidjgonzalezzzz

I believe you need to do this using the browser's "default" request for /favicon.ico -- you can obviously conditionally re-route this request in Apache Webserver (or even in a AEM servlet if you wanted to write one) - I think there should be context that the request is "for" a binary request by looking at the referrer header.

 

 

 

1 Antwort

Adobe Employee
May 20, 2021

I believe you need to do this using the browser's "default" request for /favicon.ico -- you can obviously conditionally re-route this request in Apache Webserver (or even in a AEM servlet if you wanted to write one) - I think there should be context that the request is "for" a binary request by looking at the referrer header.

 

 

 

Level 2
May 21, 2021
Could you please provide an example of apache re-routing ? this would be helpful.