Setting response headers for HTTP requests

If your environment does not include a web server, response headers for HTTP requests do not include a value for X-FRAME-OPTIONS. The following steps describe how to include X-FRAME-OPTIONS in the response headers.

Note: We recommend that you install a web server in your Cognos Analytics environment.

Procedure

  1. Click Manage > Configuration > System, and then select Advanced Settings.
  2. Type BIHeaderFilter.responseHeaders in the Key field.
  3. Type [{"name":"X-FRAME-OPTIONS","value":"SAMEORIGIN"}] in the Value field.
  4. Click Apply.
  5. Type BIResponseWrapper.staticExpiresDays in the Key field.
  6. Type 7 in the Value field.
    Tip: This sets the value for the HTTP response headers Expires and max-age when responding to GET requests for static content.
  7. Click Apply.
  8. Refresh the page.