Well that will do the trick for cfml pages but what about .htm files, etc.
What is needed Clarke is for the 404 errors to be directed to a custom 404
page that you build in cfml. That will grab any missing file for sure.
 
John
[EMAIL PROTECTED]
 
 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne
Sent: Tuesday, December 05, 2006 8:05 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Detecting Missing .cfm Templates


Yes, BlueDragon does have an extra method for MissingTemplate.  
 
Not having access to the webserver or admin does make this very difficult.
 
I am not sure you can achieve this unless you have your application.cfc
using the onRequest method to try and include every request and then if the
request fails, then you cflocation over to the error page.
 
Teddy

 
On 12/5/06, Justin Haygood <[EMAIL PROTECTED]> wrote: 

I think you can if you're using BlueDragon, not sure if you can with CFMX.

 

From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
On
Behalf Of Clarke Bishop
Sent: Tuesday, December 05, 2006 5:09 PM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] Detecting Missing .cfm Templates

 

No, just anywhere, including a user typing the URL in their browser or via
bookmark.

 

 

 

  _____  

From: [EMAIL PROTECTED]  <mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] On
Behalf Of Teddy Payne
Sent: Tuesday, December 05, 2006 5:01 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Detecting Missing .cfm Templates 

Are the missing templates being called from cfinclude? Or just handling
missing .cfms just anywhere?

 

Teddy
 

On 12/5/06, Clarke Bishop <[EMAIL PROTECTED]> wrote: 

Is there a way to use Application.cfc's onError or onRequestStart methods to
detect and handle a missing or moved .cfm template? Or is there another way
to do this? 

 

I know there's a missing template section in CF Admin, but I am doing this
on a shared host, and I can't access admin functions. Also, I can't use any
server-level missing template functions. 

 

Thanks for any ideas!

 

   Clarke


------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
<http://www.acfug.org/?fa=login.edituserform>  

For more info, see http://www.acfug.org/mailinglists
<http://www.acfug.org/mailinglists> 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com/>  
------------------------------------------------------------- 




-- 
<cf_payne />
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org <http://www.acfug.org/>  
------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
<http://www.acfug.org/?fa=login.edituserform>  

For more info, see http://www.acfug.org/mailinglists
<http://www.acfug.org/mailinglists> 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com/>  
------------------------------------------------------------- 


------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
<http://www.acfug.org/?fa=login.edituserform>  

For more info, see http://www.acfug.org/mailinglists
<http://www.acfug.org/mailinglists> 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com/>  
------------------------------------------------------------- 


------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform
<http://www.acfug.org/?fa=login.edituserform>  

For more info, see http://www.acfug.org/mailinglists
<http://www.acfug.org/mailinglists> 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com/>  
------------------------------------------------------------- 




-- 
<cf_payne />
Adobe Certified ColdFusion MX 7 Developer
Atlanta CFUG (ACFUG): http://www.acfug.org 
------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 



-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to