You can change the IWP home page and use a redirect on the substitute page. That's one idea.
I have a solution that pretty much works around the FileMaker iwm_home and iwm_auth pages that I use when my clients do not want to see a list of other databases and don't want to see FM logos and such.
Each client has a landing page on their own website on the FM server with a link to their database logon:
The downside of this is that the page you normally see when you logon to www.server.com/fmi/iwp is not available anymore - you have to link like I did above. Of course, you have to have admin or poweruser access to the server to make changes like these.
That's the sort of solution that I want. We have a number of clients that want to have IWP and we want them to feel a little bit special.
How do you know which client web site to return to? Is the database name included in the URL or do you check the referrer URL?
Good suggestion. We have more than one client that wants IWP. So we need to handle that.
window.location = "http://" + window.location.hostname;
Put this code on a webpage and name it iwp_home.html. Rename the original (just in case you want to go back) iwh_home.html file and copy the new file into the same folder as the original.
I see. We're doing FMP hosting but not web hosting. There is a bit of creep into the web but we're not hosting the domain names.
I guess I was not real clear - I am not hosting their domains, only a subdomain. So if a client has their website at godaddy (www.theirwebsite.com), I have them make a subdomain (myiwpdatabase.theirwebsite.com) and point it to my webserver. I add a webserver for that subdomain and confirgure it like the default webserver as far as FileMaker connectivity goes. That process can be fairly technical, but I could talk you through it on Windows. I haven't tried this on a Mac server yet.
That's food for thought. I think that we can do that too.