February 27, 20187 yr 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
March 8, 20187 yr 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 March 8, 20187 yr by ggt667
March 8, 20187 yr 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.
March 8, 20187 yr You might want to start this thread over in the WebDirect forum. IWP is very different.
Create an account or sign in to comment