Ad Widget

Collapse

Extern website use iframe problem

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ducksteb
    Junior Member
    • Aug 2024
    • 5

    #1

    Extern website use iframe problem

    Hi forum

    i got a other intern website where i will like to show some of the dashbords from Zabbix like "https://URLXXXX/zabbix/index.php?name=XXXXXX&password=XXXXXXX!&enter=Sign &action=dashboard.view&kiosk=1&dashboardid=172"
    it is working super in the brower but i need to drop it in a iframe. to fit the pages

    as you can see i have turn off the X-Frame and the Sandboxing. so out from that it has to work right ?

    Click image for larger version

Name:	image.png
Views:	657
Size:	12.7 KB
ID:	488990

    i now load the iframe

    and it just get be the login screen
    Click image for larger version

Name:	image.png
Views:	592
Size:	12.3 KB
ID:	488991
    even after i try login it drop be back to the login pages.

    i have try edit in the pages_header.php to remove all the X-frame but still the same
    so i am really blank and there is nothink online about that problem here
    all google posted only posted respons ppl just post the url "https://www.zabbix.com/documentation/current/manual/web_interface/frontend_sections/administration/general"

    ​is there somthink els there dooing so it cant work ?
  • Answer selected by ducksteb at 05-08-2024, 10:03.
    ducksteb
    Junior Member
    • Aug 2024
    • 5

    problem solved it where not the x frame options
    but cookie's SameSite property

    Click image for larger version  Name:	image.png Views:	0 Size:	13.2 KB ID:	489010

    for others there run in to the same problem as me.

    Comment

    • ducksteb
      Junior Member
      • Aug 2024
      • 5

      #2
      problem solved it where not the x frame options
      but cookie's SameSite property

      Click image for larger version  Name:	image.png Views:	0 Size:	13.2 KB ID:	489010

      for others there run in to the same problem as me.

      Comment

      • infocbsi
        Junior Member
        • Nov 2023
        • 4

        #3
        Hi,
        Thanks for sharing. Where did you make this change?
        I've got the same problem.

        Comment

        • ducksteb
          Junior Member
          • Aug 2024
          • 5

          #4
          one the server where you like to show it.
          you have to add it in the apache config of the vhost.

          Comment

          Working...