• Login
  • Register

DNN Forums

A community discussion page. We're starting from scratch, so...let's get the party started!

iFrames suddenly quit working

You are not authorized to post a reply.
Sort:
Page 5 of 5 << < 12345


Basic Member


Posts:43
Basic Member

    The reason is you are telling the website to remove an X-Frame-Options header, then add a different X-Frame-Options header, but you're still ending up with two.

    The fact your remove step isn't doing anything suggests the offending X-Frame-Options heading is being added after your code has run. That sounds like something a firewall or other network security software might do - but I don't know how they're set up. I suspect if you've got IT Ops people where you work, they'd be the people to speak to. 

    If it is something a DNN module upgrade has caused, it's almost certainly on http://healthtest.co.santa-cruz.ca.us/ installation, not on your intranet.



    Advanced Member


    Posts:132
    Advanced Member

      I completely agree with Olly. If a module would add the header, IIS would remove it (because of that remove line), and when two headers are delivered, the second is added after the whole process most propably.

      In this case, there is nothing you can do in IIS. But you can test it, if you browse the website http://healthtest.co.santa-cruz.ca.us/ on the server where it is installed. Add something like

      127.0.0.1    healthtest.co.santa-cruz.ca.us
      

      to your hosts-file (normally under C:\windows\system32\drivers\etc, you may edit this with any text editor) to avoid a DNS request.

      Then check the headers you get there (and remove the line above from the hosts file after the test).

      Happy DNNing!
      Michael

      Michael Tobisch
      DNN★MVP

      dnnWerk Austria
      DNN Usergroup für den deutschsprachigen Raum
      DNN Connect


      Basic Member


      Posts:31
      Basic Member

        Thanks for your help looking into this -

        Guess what - I just heard back from Tycho de Waard on the DNNConnect Facebook group - he found that DNNSharp Action Form version 5 was causing this issue. He provided me with an upgrade to the module , which I tried on our test server, and it works!. The problem is fixed.
        To be clear - this is on the website serving the content that appears in the iFrame.

        Thanks again for your help!
        -Tom


        Advanced Member


        Posts:132
        Advanced Member

          Tom,

          you're welcome, and I am happy that you found the issue. As I don't use DNNSharp Action Form, I did not know about this issue... thanks for telling us.

          Happy DNNing!
          Michael

          Michael Tobisch
          DNN★MVP

          dnnWerk Austria
          DNN Usergroup für den deutschsprachigen Raum
          DNN Connect


          Basic Member


          Posts:43
          Basic Member

            Hooray! So glad you got this figured out :)

            You are not authorized to post a reply.
            Page 5 of 5 << < 12345

            These Forums are dedicated to discussion of DNN Platform.

            For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

            1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
            2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
            3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
            4. No Flaming or Trolling.
            5. No Profanity, Racism, or Prejudice.
            6. Site Moderators have the final word on approving / removing a thread or post or comment.
            7. English language posting only, please.

            Would you like to help us?

            Awesome! Simply post in the forums using the link below and we'll get you started.

            Get Involved