I want to change X_FRAME_OPTIONS so that i update /usr/share/zabbix/include/defines.inc.php:
Then i restart httpd service.
But when i test, i find below error:
I know that 'sameorgin' is the default value which means changes do not work.
My zabbix version is 3.0.14-1.el7.
Code:
define('X_FRAME_OPTIONS', 'http://192.168.60.45:8080,http://10.0.2.79:8080');
But when i test, i find below error:
Code:
Refused to display 'http://10.0.2.79/zabbix/zabbix.php?action=dashboard.view' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
I know that 'sameorgin' is the default value which means changes do not work.
My zabbix version is 3.0.14-1.el7.
Comment