Skip to content

Instantly share code, notes, and snippets.

@danielmcclure
Last active January 12, 2022 09:53
Show Gist options
  • Save danielmcclure/6af83ed9100c765e3184f5d71179d21a to your computer and use it in GitHub Desktop.
Save danielmcclure/6af83ed9100c765e3184f5d71179d21a to your computer and use it in GitHub Desktop.
How to Remove Conflicting X-FRAME-OPTIONS Headers via .htaccess on Apache
# Select one of the following options - Security decreases from top to bottom.
Header append X-FRAME-OPTIONS "DENY"
Header append X-FRAME-OPTIONS "SAMEORIGIN"
Header append X-FRAME-OPTIONS "ALLOW-FROM https://example.com/"
@danielmcclure
Copy link
Author

Thanks, not sure where I picked that up from but will remove.

@r-martins
Copy link

It happens. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment