6 Replies Latest reply on Jan 4, 2015 3:21 AM by KevinVandenBrande

    FM Server 13 Apache httpd.conf settings

    KevinVandenBrande

      Title

      FM Server 13 Apache httpd.conf settings

      Your post

      In the past version of FileMaker 13 server i always turned on following settings in the httpd.conf file ( <Directory "${HTTP_ROOT}/htdocs"> )
      A: Options Indexes FollowSymLinks MultiViews
      B:  AllowOverride All

       

      I used option A to display all indexes as my machine is a development server. Option B i used in combination with a .htaccess file for URL rewriting. This change of httpd.conf worked for all versions of FileMaker server 13 except for the last one v5. None of the lines above does what it has to do. Is there anything else that you need to change? Normally this change should solve all problems I listed above

      thx in advance

        • 1. Re: FM Server 13 Apache httpd.conf settings
          Kevin Van den Brande: 
           
          Thank you for the post.
           
          To my knowledge nothing additional has changed in regards to version or API for Apache and PHP with the release of FileMaker Server 13.0v5.
           
          Did you restart the computer after changing the httpd.conf file? If the change did not take effect afterwards, then does redeploying indicate any errors?
           
          TSFalcon
          FileMaker, Inc.
          • 2. Re: FM Server 13 Apache httpd.conf settings
            KevinVandenBrande

            Dear TSFalcon

            I did restart the whole server after making those changes. However at first when i edited the httpd.conf file and restarted the server the changes where undone.. Which was kinda strange. It seemed like the old settings where restored. Maybe from another conf file in the same folder?

            Since the installation of FileMaker Server 13.0v5 in total 3 httpd.conf are created:
            httpd.conf
            httpd.conf.2.2
            httpd.conf.2.4

            What i have done now is made those changes in all those config files with succes. Now i have got things back working like before. Is it possible FileMaker takes one config file as primary and that's the reason the default httpd.conf got rechanged after restart?

            Another note: 
            LoadModule autoindex_module /usr/libexec/apache2/mod_autoindex.so
            this line is commented out starting from FileMaker Server 13.0v5 which is critical for listing your directory. That's a thing i didn't saw at first.

            Greetings

            Kevin

            • 3. Re: FM Server 13 Apache httpd.conf settings
              Kevin Van den Brande: 
               
              Thank you for the update.
               
              "Is it possible FileMaker takes one config file as primary and that's the reason the default httpd.conf got rechanged after restart?"
               
              To my knowledge FileMaker Server 13 is only loading the file called httpd.conf and my FileMaker Server 13.0v5 installation does not have the other two files mentioned. 
               
              TSFalcon
              FileMaker, Inc.
              • 4. Re: FM Server 13 Apache httpd.conf settings
                KevinVandenBrande

                TSFalcon

                Well i recently updated my own server and another server (customer) with the installer and both had those files I mentioned above. I have attached a screenshot of the files that were added after the update. The following files:
                httpd.conf.2.2
                httpd.conf.2.4

                Those files did not exist in any previous version of the FileMaker server 13. This is why i assumed FileMaker altered the httpd.conf (with content of maybe one of the above listed files) after a restart. I tried a few times by editing the httpd.conf and restarting the server but everytime after a restart those changes where undone..

                Cheers
                Kevin

                • 5. Re: FM Server 13 Apache httpd.conf settings
                  Kevin Van den Brande: 
                   
                  Thank you for the reply.
                   
                  "I tried a few times by editing the httpd.conf and restarting the server but everytime after a restart those changes where undone.."
                   
                  Were the files still live and being hosted by FileMaker Server? When did the files revert before or after a restart of the computer?
                   
                  Prior to modification did you copy the files out of the hosted directory and then copy the files back?
                   
                  Changing live files may produce some odd results, so try stopping the processes, changing the files, and then starting the processes or restarting the server.
                   
                  Do those steps keep the changes?
                   
                  TSFalcon
                  FileMaker, Inc.
                  • 6. Re: FM Server 13 Apache httpd.conf settings
                    KevinVandenBrande

                    TSFalcon

                    I first copied out the httpd.conf file to my desktop. Here i edited the files and then copied back into the right directory overwriting the current file. After this I restarted my server. After the restart my changes where undone. Only, like I mentionned, when editing all 3 files and restarting then it worked.

                    I dit not stop the webserver of FileMaker server since you have no option to do this. I know this can be done by a terminal command ( sudo launchctl stop com.filemaker.fms ), but this i did not try before replacing the current httpd.conf file.

                    However i find it strange that after the latest update 3 httpd.conf are listed (as seen in my screenshot). This is why I thought that maybe one of these caused it to revert my changes..