3 Replies Latest reply on Jul 21, 2017 3:23 PM by beverly

    php won't run under https

    sgasch

      I am running FMP Server 15 on a Mac. Everything works just fine under http, but once a valid SSL Certificate was installed, the php pages are not serving any  more.

       

      The message received is:

       

      "The requested URL was not found on this server. The link on the ">referring page seems to be wrong or outdated. Please inform the author of ">that page about the error. If you entered the URL manually please check your spelling and try again. "

       

      I have checked the Admin Console and the config files (in the web pages and in httpd) and can't find the problem.

       

      Does anyone have any suggestions to fix this problem????

        • 1. Re: php won't run under https
          mdenyse

          Have you moved/duplicated your files inside the httpsRoot directory? That's where files served over HTTPS need to go.

          1 of 1 people found this helpful
          • 2. Re: php won't run under https
            sgasch

            How would anyone know that had to be done - is it documented somewhere?

             

            Shirley Gasch

            • 3. Re: php won't run under https
              beverly

              FileMaker® Server 15

              Custom Web Publishing Guide

              p. 51

              The FM_API_for_PHP_Standalone.zip file contains a file called FileMaker.php and a folder called FileMaker. Unzip the file and copy the FileMaker.php file and the FileMaker folder to either of these locations:

              * the folder where your PHP scripts reside.

              * For IIS (Windows) through HTTP or HTTPS: 

              [drive]:\Program Files\FileMaker\FileMaker Server\HTTPServer\Conf   where [drive] is the drive on which the Web Publishing Engine component of your FileMaker Server deployment resides.

              * For Apache (OS X) through HTTP: /Library/FileMaker Server/HTTPServer/htdocs

              * For Apache (OS X) through HTTPS:

              /Library/FileMaker Server/HTTPServer/htdocs/httpsRoot

              p. 64 & p. 84

              4. Copy or move your site directory structure and files to the following folder on the web server.

              * For IIS (Windows) through HTTP or HTTPS:

              [drive]:\Program Files\FileMaker\FileMaker Server\HTTPServer\Conf where [drive] is the drive on which the Web Publishing Engine component of your FileMaker Server deployment resides.

              * For Apache (OS X) through HTTP: /Library/FileMaker Server/HTTPServer/htdocs

              * For Apache (OS X) through HTTPS:

              /Library/FileMaker Server/HTTPServer/htdocs/httpsRoot

              HTH,

              Beverly