---
title: "Modifying Apache response headers for external widgets"
description: "Modifying Apache response headers in OP5 Monitor can affect the functionality of external widgets. Users need to adjust the Apache configuration to allow specific external widgets while understanding the security implications of these changes."
url: "https://docs.itrsgroup.com/docs/faq/op5/360016320998-op5-monitor-modifying-apache-response-headers-for-external-widgets/index.html"
---
On newer versions of Monitor, the Apache config will contain this line:

```
Header always append X-Frame-Options SAMEORIGIN
```

This is added for security purposes, but is likely to break external widgets.

In order to make external widgets work, users need to change this configuration to be more specific, for example with a rule like:

```
Header set Content-Security-Policy "frame-ancestors 'self' foo.bar.com;"
```

Users are encouraged to understand the purpose and effect of these policies before making changes: for the "frame-ancestors" example you may refer to [the MDN docs on frame-ancestors](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors).

OP5 external widget configuration: [Manage dashboards and widgets](https://docs.itrsgroup.com/docs/op5-monitor/current/topics/configure/dashboards-widgets.html#External_widget_configuration)


