custom 404 troubles

2002-03-27 Thread Todd Ashworth

I have a custom 404 template set up.  When I go to a bad .html file, the
custom 404 comes up properly.  When I go to a bad .cfm it doesn't.  I can't
activate the check that file exists option, because it screws up one of my
custom tags.

I was thinking about doing a meta refresh to the custom 404 from the
standard CF 404 page.  Does anyone know where this file is found?  Also, is
there a better way to handle this?

Todd



This email has been scanned courtesy of SCDinc.com 
System rejects all executable attachments such as:
com, .scr, .vbs, .exe, and .bat


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: custom 404 troubles

2002-03-27 Thread BEN MORRIS

cferror will allow you to specify a template to use, but you cannot use cf variables 
and tags as usual.  You could do a meta refresh to your 404 page.

 Todd Ashworth [EMAIL PROTECTED] 03/27/02 11:51AM 
I have a custom 404 template set up.  When I go to a bad .html file, the
custom 404 comes up properly.  When I go to a bad .cfm it doesn't.  I can't
activate the check that file exists option, because it screws up one of my
custom tags.

I was thinking about doing a meta refresh to the custom 404 from the
standard CF 404 page.  Does anyone know where this file is found?  Also, is
there a better way to handle this?

Todd



This email has been scanned courtesy of SCDinc.com 
System rejects all executable attachments such as:
com, .scr, .vbs, .exe, and .bat



__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: custom 404 troubles

2002-03-27 Thread Chris Norloff

You mean you're using the Missing Template Handler in CF admin? Or are you using 
CFERROR type=request?  

When you say you go to a bad file, do you mean you enter the name of a file that 
doesn't exist?

I use the Missing Template Handler and it works with CFM pages but not HTML pages or 
nonsense words. I'd use the web server to handle HTML, since the CF server is not 
called unless it's a CFM page.

Chris Norloff

-- Original Message --
from: Todd Ashworth [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Wed, 27 Mar 2002 11:51:07 -0500

I have a custom 404 template set up.  When I go to a bad .html file, the
custom 404 comes up properly.  When I go to a bad .cfm it doesn't.  I can't
activate the check that file exists option, because it screws up one of my
custom tags.

I was thinking about doing a meta refresh to the custom 404 from the
standard CF 404 page.  Does anyone know where this file is found?  Also, is
there a better way to handle this?

Todd



This email has been scanned courtesy of SCDinc.com 
System rejects all executable attachments such as:
com, .scr, .vbs, .exe, and .bat



__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists