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

末鹿安然 提交于 2019-12-05 02:08:34

X-Frame-Options was forced in by ssl.conf.

Commenting out and restarting Apache allowed .htaccess and PHP header management to work again.

Rubén González

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.

Vlax

Just in case if you want to modify this in .htaccess this will be the way:

Header always unset X-Frame-Options env=HTTPS;
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!