Domain that has frame forwarding hosting type shows blank page on Plesk server

Started by mahesh, Dec 10, 2024, 07:01 AM

Previous topic - Next topic

mahesh

Symptoms
#curl -k -I https://anotherdomain.com
...
X-Frame-Options: DENY

Cause
Rendering of anotherdomain.com as a frame is forbidden on remote hosts.

Resolution
To allow the anotherdomain.com page be displayed in a frame on the example.com add the following directive in the Apache settings on the server where anotherdomain.com website is hosted:

Header set X-Frame-Options "ALLOW-FROM http://example.com/"