Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
- Domain
example.com
that has frame forwarding hosting type and redirects toanotherdomain.com
shows blank page instead ofanotherdomain.com
content; - The rendering of page in a <frame>, <iframe> or <object> are not allowed for
anotherdomain.com
website:# 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:
CONFIG_TEXT: Header set X-Frame-Options "ALLOW-FROM http://example.com/"
Comments
0 comments
Please sign in to leave a comment.