Overcoming “Display forbidden by X-Frame-Options”

后端 未结 26 2323
梦谈多话
梦谈多话 2020-11-21 06:31

I\'m writing a tiny webpage whose purpose is to frame a few other pages, simply to consolidate them into a single browser window for ease of viewing. A few of the pages I\'

26条回答
  •  难免孤独
    2020-11-21 07:34

    I had the same problem with mediawiki, this was because the server denied embedding the page into an iframe for security reasons.

    I solved it writing

    $wgEditPageFrameOptions = "SAMEORIGIN"; 
    

    into the mediawiki php config file.

    Hope it helps.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题