Symptoms
- Domain
that has frame forwarding hosting type and redirects to
example.com
shows blank page instead of
anotherdomain.com
content;
anotherdomain.com
- The rendering of page in a <frame>, <iframe> or <object> are not allowed for
website:
anotherdomain.com
# curl -k -I https://anotherdomain.com
...
X-Frame-Options: DENY
Cause
Rendering of
as a frame is forbidden on remote hosts.
anotherdomain.com
Resolution
To allow the
page be displayed in a frame on the
anotherdomain.com
add the following directive in the Apache settings on the server where
example.com
website is hosted:
anotherdomain.com
Header set X-Frame-Options "ALLOW-FROM http://example.com/"