当前位置:   article > 正文

Refused to display 'https://...' in a frame because it set 'X-Frame-Options' to 'SAMEORIGN报错_refused to display' in a frame because it set 'x-f

refused to display' in a frame because it set 'x-frame-options' to 'sameorig

问题:

https访问遇到如下报错

Refused to display 'https://...' in a frame because it set 'X-Frame-Options' to 'SAMEORIGN‘’

解决方法如下:

apache服务器http.conf增加如下语句:

Header always set X-Frame-Options "AllowAll"

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/449006
推荐阅读
相关标签
  

闽ICP备14008679号