i may be wrong (don't think so) but I don't think cf will catch a 404...
there are a bazillion posts at MM of people trying to find out how to do it.

-pat-


-----Original Message-----
From: Benjamin Rosenthal [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 5:39 PM
To: CF-Talk
Subject: setting default page for 404 error


I'm using a shared host and I used their own in-house utility to set up a
default page for 404 (file not found) errors in IIS.

This seems to be working for non .cfm files.

Examples that work fine:

http://domain.com/badname.htm
http://domain.com/badname.asp
http://domain.com/anything

However, for cfm files:

http://domain.com/badname.cfm

A file not found error is generated by Coldfusion itself.  On my previous
host this was all set up by one default on IIS.

My new host is telling me to use cferror in the application.cfm file and it
has nothing to do with the server settings.  Is this true?  Is it possible
for <cferror> to recognize a file not found error?  Every tag
I've tried so far has ignored missing file errors.

Benjamin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to