I\'m writing a tiny webpage whose purpose is to frame a few other pages, simply to consolidate them into a single browser window for ease of viewing. A few of the pages I\'
It's surprising that no one here has ever mentioned Apache
server's settings (*.conf
files) or .htaccess
file itself as being a cause of this error. Search through your .htaccess
or Apache
configuration files, making sure that you don't have the following set to DENY
:
Header always set X-Frame-Options DENY
Changing it to SAMEORIGIN
, makes things work as expected:
Header always set X-Frame-Options SAMEORIGIN