Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Are there ways to make route or rewrite a domain name to 1 given IWP database?

Featured Replies

Are there ways to make route or rewrite a domain name to 1 given IWP database?

I've attached two examples of custom login forms that will specify a database to be logging into, with and without a guest login option.  I *think* you can also do this via a URL, embedding the login information, using the same parameters as in the form.  This is going back quite a ways now and my memory isn't 100% on all of it.

Note you can also use javascript redirects in the iwp resources pages (login + logout) to rewrite the login and logout page URLs based on the (sub)domain being used to access, to avoid the default pages.

- John

loginforcedatabase.html

loginwithguestforcedatabase.html

  • 2 weeks later...
  • Author

Right now I'm doing a rewrite in Apache, however I assume there are ways to proxy a file using nginx.

Your example is quite nice, it can make a custom looking login page. Perhaps that is more purposeful for some cases.

My bad I forget that the current iteration of IWP is named webd: https://fmhelp.filemaker.com/docs/16/en/fmwd/index.html#accessing_linking

Edited by ggt667

  • Author
   server {
        server_name sub.domain.tld;

      location / {
        proxy_pass http://10.0.0.10:8080;
        proxy_set_header        Host            $host;
        proxy_set_header        X-Real-IP       $remote_addr;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
      }
    }

Above works great for FileMaker 16 Server through nginx as reverse proxy. What I would like to be able to is to stimagtize what has to be mentioned after sub.domain.tld so that this part "/fmi/webd/sub" from here: 10.0.0.10:8080/fmi/webd/sub would no longer be optional.

You might want to start this thread over in the WebDirect forum. IWP is very different.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.