Panels HTTP Response Header Pane

Categories

Component ID

2822694

Component name

Panels HTTP Response Header Pane

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1060

Component created

Component changed

Component body

This module provides a panels pane (aka ctools content type) that sets or changes a HTTP response header.
It can be useful to allow some single pages to be embedded in a iframe without losing all of the drupal clickjacking protection added here:
Drupal 7 core is now protected against clickjacking by default (X-Frame-Options: SAMEORIGIN)

To allow a panel page to be embedded in an iframe on www.example.com:
* Add a HTTP response header pane
* Header name: X-Frame-Options
* Header value: ALLOW-FROM http://www.example.com/

Have fun!

You may also like All Links Target Blank.