Project

General

Profile

x-frame-same-origin not working

Added by George McFie 25 days ago

Any suggestions would be very welcome.

I’m attempting to force my Wt Server to be accessible from an iframe of another server. Specifically I’m trying to prevent the server from returning the header …

X-Frame-Options: sameorigin

My understanding from the wt_config.xml documentation is that I only need to define/configure …

<server>
<application-settings location="*">
<x-frame-same-origin>false</x-frame-same-origin> <!-- <<<<<<<<<< THIS <<<<<<<<<<< -->

... however this does not work. I can confirm that …

  • I am updating the correct wt_config.xml file
  • and I have restarted the server

    (1-1/1)