Neil,
If you have enabled session variables, this is easy. In your application.cfm
page insert this code below your <cfapplication...>
<CFERROR TYPE="Request" TEMPLATE="error.html" MAILTO="[EMAIL PROTECTED]">
Then be sure to have a custom error.html page within that directory scope.
It
is important to note that CFSERVER will not process anything but html on the
error page so you can't use a .cfm page.
Tony Gruen
-----Original Message-----
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 17, 2001 11:37 AM
To: CF-Talk
Subject: Custom 404 in CF.
IN a virtual hosting environment how would you use a custom 404 that is CF
based? Actually even if it a .cfm and the file is not found IIS wouldn't
return the 404 page but there is something else displayed.
Thanks,
Neil
p.s. It can not be the server wide error handler since there are several
different people using the Server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists