Tagged: 

This topic contains 1 reply, has 1 voice, and was last updated by  admin 7 years, 7 months ago.

  • Author
    Posts
  • #73211

    admin
    Keymaster
    From our customer, another common question:
    On your webpage and in the documentation you say that SoSimple is possible to use through web direct.
    We tried to use the link that we get in the ”SoSimple settings”-file and we tried the regular one that we use in the ordinary FileMaker Webviewer.
    None of them work in web direct.
    When looking at it in ”developer mode” in safari we get this error message: Refused to display: ”http://…..”in a frame because it set ‘X-Frame-Options’ to ’SAMEORIGIN’
    Do you know what we are doing wrong?
    • This topic was modified 7 years, 7 months ago by  admin.
  • #73213

    admin
    Keymaster

    In WebDirect, there are two things be aware of when you don’t see a calendar where you did in FileMaker Pro & Go clients.

    1. Make sure the host part of URL is the exact same that you’re using to access WebDirect.

    This is the error you’re running into. If the URL in the address bar for WebDirect is https://fmp.paradisepartners.com/fmi/webd and the URL of the web viewer is https://172.123.122.222/sosimple/sosimple_cal.php, you will see this error, or your webviewer will be blank. The easiest fix is to change the webviewer to match:

    https://fmp.paradisepartners.com/sosimple/simple_cal.php.

    If there’s some reason that you can’t do that (for example, if your web pages are on a different server than your FileMaker Web Publishing engine), then you need to instruct your FileMaker Web Publishing engine that it’s OK to display content from your web server:

         IIS HTTP Response Header configuration (FMS 14 or higher when you’re using multiple servers)

         HTTP Response Headers must be updated in IIS on the server hosting the calendar when FileMaker Server is version 14 or higher due to increased security of FMS 14. 

    1.     Launch Internet Information Services Manager (IIS) on the FileMaker WebDirect server.

    2.     Expand Sites in the left navigation panel.

    3.     Select the sosimple folder in the left navigation panel.

    4.     Click the HTTP Response Headers in the middle panel.

    5.     Update the X-Frame-Options setting from “SAMEORIGIN” to “ALLOW-FROM http://10.1.93.24” (IP address of web/php server)

    2. Use the same host Protocol (http or https) as you’re using for WebDirect.

    If the URL in the address bar for WebDirect is https://fmp.paradisepartners.com/fmi/webd and the URL of the web viewer is http://fmp.paradisepartners.com/sosimple/sosimple_cal.php, this will result in a blank web viewer, or an error “can’t show secure content on a secure page” or something like that. To fix this, change the webviewer to match:

    https://fmp.paradisepartners.com/sosimple/simple_cal.php.

    You will need to change soSIMPLE Calendar Settings to reflect this change by making the URL to PHP point to the secure URL.

    On Mac OS, you will also need to copy or move the soSIMPLE web page directory to the secure folder (Windows doesn’t use a separate folder, so this step is unnecessary).

    /Library/FileMaker Server/HTTPServer/htdocs/httpsRoot

     

    • This reply was modified 7 years, 7 months ago by  admin.
    Attachments:
    You must be logged in to view attached files.

You must be logged in to reply to this topic.