Jump to content

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

Recommended Posts

  • Newbies
Posted

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!

Posted

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

Posted

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

Posted

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

This topic is 7803 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.