IBM Support

Product images don't show in Event Studio

Troubleshooting


Problem

Images/Icons are visible when using the product without webserver. With webserver also icons are visible elsewhere, only in event studio the icons are not visible.

Symptom

Screenshot of Event Studio which is having missing images when accessed from webserver.

cognos.conf has the required includes for event studio files still fiddler trace shows messages like "The request URL /ibmcognos/bi/ags/drag.js was not found on this server", however the files are existing.

Cause

Rewrite rules are not part of the Virtual Host stanza in the httpd.conf file. This normally works as seen on other environments, but this was IBM HTTP Server (IHS) on RHEL. The rewrite rules written to get to the event studio image files were not working as expected and hence the images did not show up. Since the rewrite rules were ignored there was no information in the rewrite logs also.

Virtual Host stanza Before in httpd.conf
<VirtualHost hostname:port>
ServerName hostname
RewriteEngine On
RewriteLog "/path/logs/rewrite.log"
RewriteLogLevel 9
</VirtualHost>

Environment

Unix

Resolving The Problem

Virtual host specific information, like the Rewrite rules need to be moved into this virtual host stanza in the httpd.conf file from the cognos.conf file.


Virtual Host stanza added in httpd.conf
<VirtualHost hostname:port>
ServerName hostname
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^(.*)v1/disp$ [NC]
RewriteRule ^/ibmcognos/bi/(ags|cr1|prompting|ccl|common|skins|ps)/(.*) /ibmcognos/$1/$2 [PT,L]
RewriteLog "/path/logs/rewrite.log"
RewriteLogLevel 9
</VirtualHost>

[{"Product":{"code":"SSTSF6","label":"Cognos Analytics"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administration and Configuration v11x","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"11.0.8;11.0.7;11.0.6;11.0.5;11.0.4;11.0.3;11.0.2;11.0.1;11.0","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg22010297