Jump to content

homeurl in Filemaker 19.4.1


jaboda

This topic is 819 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am an accidental early adopter of Filemaker Server 19.4.1 - something I don't make a habit of.

In the release notes it gives the following information:

  • Previously, FileMaker Server allowed a URL for a custom FileMaker WebDirect home page to include redirects to external sites. Starting with FileMaker Server 19.4.1, custom home page redirects are disabled by default. The redirect settings are configured in the jwpc_prefs.xml file with two new parameters: homeurlenabled and customhomeurl. The jwpc_prefs.xml file is located in [installation_folder]/Web Publishing/conf.

I found this quite confusing, perhaps due to the fact I was working late.

After connecting with Claris support and some testing I worked it out. To use https://[server url]/fmi/webd/[db name]?homeurl=[db home page] the domains must be in the allowed list in jwpc_prefs.xml. The full URL does not need to be in there.

For example:

<parameter name="homeurlenabled">yes</parameter><parameter name="customhomeurl">https://domain.com,https://anotherdomain.com</parameter>

Please note multiple domains must be separated with commas and no space. Also a reboot is required after any changes.

In the above example any URL on domain.com or anotherdomain.com would be allowed in the homeurl parameter.

Also note you cannot use a relative link to access a page on the FMS server - you must use the full domain name (or I guess IP address) in the homeurl and jwpc_prefs.xml.

 

Hope this helps others avoid confusion with this new feature.

Link to comment
Share on other sites

  • 1 month later...

This topic is 819 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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