Nothing will unset X-Frame-Options (Apache, PHP 5.3)

前端 未结 4 2077
栀梦
栀梦 2021-01-11 18:35

I\'m trying to implement an embeddable widget, functioning similar to a Twitter embedded tweet. The simplest solution, though maybe not the best, appears to be an iframe or

4条回答
  •  青春惊慌失措
    2021-01-11 19:26

    I had the same problem, and I solved writing this in httpd.conf

    Header append X-Frame-Options ALLOWALL
    

    also I had to configured the header module to be loaded, in order to apache to understand this directive. Then you must restart httpd.

提交回复
热议问题