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>
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg22010297