Jump 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.

Featured Replies

  • Newbies

I have looked everywhere I can think of (filemaker.com, search engines, forums, 404lab.com). Isn't there a way to get the Web Companion to display a custom web page when a user requests a page that is not there (like other web servers do)? I thought maybe /Error/FileNotFound.htm would work, but it doesn't. I thought maybe an ErrorDocument directive in an .htaccess file would work, but Mac OSX will not allow files that begin with a dot. HELP!

The WebCompanion error for a missing Format file is "102". You can capture this with the "-error" tag.

All the best.

Garry

p.s. I haven't had any problems creating .htaccess files in OS X. They work fine with Apache (the built-in web-server).

Hi, SVMC Fund! I don't know of any 404 page not found options, but as Garry said, you can capture errors and generate custom messages depending on the error. Check your FMP help files for error codes.

Try also..

401

  • Author
  • Newbies

I apologize if I was not clear.

I am referring to the web server error (404 - URL Not Found),

Not the database error (404 - Sort order is invalid) or any other database error.

I'm talking about the kind of errors that can be redirected by an .htaccess file on most web servers.

Sorry for any confusion.

Whilst WebCompanion is a HTTP server, it is one which has a specific purpose of serving data from Filemaker databases. General purpose HTTP servers, such as Apache and IIS, will use different error messages and security methods to specific HTTP servers.

To use the ".htaccess" security method and 404 redirection you will need to use a general HTTP server. You can generally use these servers in conjunction with the WebCompanion server.

All the best.

Garry

Create an account or sign in to comment

Important Information

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

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.