I have these 2 servers, one with virtual tour folder in it eg:
1st server: somevirtualserver.com/vr/propertygood
then other server: virtualviewer.com/virtualpage/index.html
and I want to embed it in an iframe
tag html
but then I get message
Can’t Open This Page
inside the iframe, so i guess there might be a htaccess setup to enable
here is the code in virtualviewer.com/virtualpage/index.html:
<iframe id="inlineFrameExample"
title="Inline Frame Example"
width="300"
height="200"
src="somevirtualserver.com/vr/propertygood">
</iframe>
the result is
EDIT:
Not sure this is right:
Header always append X-Frame-Options ALLOW-FROM=*
Is there a way in htaccess to enable embedding from another website?