September 18, 200322 yr 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!
September 18, 200322 yr 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).
September 19, 200322 yr 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
September 22, 200322 yr 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.
September 22, 200322 yr 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