Fix the X-Frame-Options value on Apache
Why it matters
Browsers only honour a single DENY or SAMEORIGIN. ALLOW-FROM or another unknown value is ignored and leaves the page frameable, while conflicting values block all framing, even by your own pages.
The fix
- Remove the copy in the default table and set one value in the always table, as the mod_headers documentation recommends for headers a backend may also set. Reload Apache.
apache
Header onsuccess unset X-Frame-Options Header always set X-Frame-Options "SAMEORIGIN"
Related
Scan your domain to see whether this applies to you.