Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Add favicon to AEM assets such as pdf / videos

Avatar

Avatar
Validate 1
Level 1
yashaswidotiya
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
yashaswidotiya
Level 1

Likes

0 likes

Total Posts

13 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
yashaswidotiya
Level 1

17-05-2021

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Ignite 3
Level 5
davidjgonzalezzzz
Level 5

Likes

68 likes

Total Posts

77 posts

Correct Reply

31 solutions
Top badges earned
Ignite 3
Affirm 25
Ignite 1
Give Back 5
Give Back 3
View profile
davidjgonzalezzzz
Level 5

20-05-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.

 

 

 

Answers (0)