If the iframe denied to load the content and shown the error “Load denied by X-Frame-Options: does not permit framing.” please add the following line to the .htaccess
Header always append X-Frame-Options SAMEORIGIN
This should be working fine for the websites under the Apache web server.