I see a lot of annoying messages in my ssg logs
com.l7tech.server.MessageProcessor: Request URL not resolved: https://api_gw_fqdn/favicon.ico
I believe I understand this to be user's browsers trying to get the little icon that shows up in the favorites bar in some browsers.
Can I add a web api at that url that simply returns an icon file to get rid of these messages?
Can I add a web api at that url that simply returns "ok" since I really don't want to give someone an icon file
would i be causing my gateway more "effort" than it is worth to serve that file or this "ok" message and just live with this in the logs.
We have seen a several ways to handle this depending on the end result.
1) Ignore the error message
2) Create a service with */favicon.ico as the URI and return an empty return template with status 200
3) Create a service with */favicon.ico as the URI that links to central location to get your corporate favicon using a HTTP routing assertion and use the cache assertion store and retrieve to avoid excessive outbound calls, or take the hex value of the favicon file and put it in a return template.
Director, CA Support
Hello pwhelan81 ,
If you like to return a real favicon, you may,
1. Publish /favicon.ico endpoint (base64 encode an icon image first, put it in src context variable, Request source of Route via http is set as message target)
2. Publish /showicon endpoint
Sample policies are attached.