Adding X-Frame-Options in local


I’ve searched on here and google and can’t find how to add X-Frame-Options for a local site. I’ve added this to my htaccess;

Header set X-Frame-Options SAMEORIGIN

I’m trying to load an iframe (from the same site) into a bootstrap modal, but I keep getting the error about its set ‘X-Frame-Options’ to ‘deny’.

Do I need to change it in a file in the program instead?

Kind Regards

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.