4 Replies Latest reply on Apr 2, 2014 5:30 AM by mikebeargie

    Root file location for FM Direct


      I am playing around with FM WebDirect and it seems to be a very cool option for accessing the DB. My question is this.... where is the default file that is served when I go to http://<IP> ?


      I can access the db via webbrowser using http://localhost/fmi/webd and it comes up with a list of my db's, however, when I just hit http://localhost it serves me a blank html doc with nothing in the markup..


      Where is that file so I can utilize this page for intranet purposes or a gateway or something.


      I have tested index.html files in /inetpub/ and in <filemaker install dir>/HTTP_Server/conf directories and can't seem to locate this file.


      I found several topics in this forum, but none addressed this.




      Thank you in advance,



        • 1. Re: Root file location for FM Direct

          HTTPServer/htdocs/ - the fmwebd_home.html file in that directory is the one that you customize for the landing page at localhost/fmi/webd. I would just make your changes, or link to another html file you specify, from there.


          For the actual default webserver landing page you need to dig down into the hidden file structure for the web server.


          The apache default config file is always at /private/etc/apache2/httpd.conf


          Look for "DocumentRoot", which should be something like /Library/WebServer/Documents


          If you go to the /Library/WebServer/Documents/index.html.en file, is that what you're looking for? for me, I get a plain file that just says "It Works".


          Of course I also want to include the usual warnings of "at your own risk", "serious consequences could result", etc.. as you can definitely mess up WebDirect by making changes to apache.

          • 2. Re: Root file location for FM Direct

            The apache default config file is always at /private/etc/apache2/httpd.conf


            FMS v13 supplies its own httpd.conf file. It is in /Library/FileMaker Server/ with the rest of the web stuff.



            • 3. Re: Root file location for FM Direct

              Nathan said /inetpub/, on Windows the file is

              "C:\Program Files\FileMaker\FileMaker Server\HTTPServer\conf\fmwebd_home.html"


              and the URL matching ^fmi/* is redirected to localhost:16020 on IIS.

              • 4. Re: Root file location for FM Direct

                Thanks, FileMaker must not have any path written in it's config file for the localhost default index. The file that appears when I navigate to http://localhost/ is the Drive/Library/WebServer/Documents/index.html.en file, NOT the Drive/Library/FileMaker Server/HTTPServer/htdocs/index.html file as I would expect.


                I tested this by making a change to the code of the index.html.en file and seeing that it showed up on the default page.


                Of course, I am still working out some bugs in my testing environment FMS install after recently upgrading to mavericks, so possibly my apache config is messed up right now.