Many Web browsers automatically make a request for a favicon (favorites
icon) when a user visits or bookmarks a Web page. You can provide a favicon
as a static response using a URIMAP definition.
Web browsers make requests for default favicons using the URL
http://www.example.com/favicon.ico
where
www.example.com is the host name for the
site. The HTTPS scheme may be used instead, if appropriate. You can choose
to provide:
- A default favicon that is returned for any host name used by your CICS
region.
- A different default favicon for each host name used by your CICS region.
If a Web browser requests a favicon and you do
not provide one, CICS sends an error response to the browser as follows:
- If you are using the CICS-supplied default analyzer DFHWBAAX, a 404 (Not
Found) response is returned. No CICS message is issued in this situation.
- If you are using the sample analyzer DFHWBADX, or a similar analyzer which
is only able to interpret the URL format that was required before CICS TS
Version 3, the analyzer is likely to misinterpret the path favicon.ico as
an incorrectly specified converter program name. In this case, message DFHWB0723
is issued, and a 400 (Bad Request) response is returned to the browser. To
avoid this situation, you can either modify the analyzer program to recognize
the favicon request and provide a more suitable error response, or provide
a favicon using a URIMAP definition (which means that the sample analyzer
program is bypassed for these requests).
To provide a favicon for all or some of your host names, using
a URIMAP definition: