yep, it is.
The problem seems to be that when CF calls the c:\cf\hr\404.cfm (as the
result of a 'cannot find foo.cfm') then it doesn't run the application.cfm.
This meant that my references to #application.dsn# were failing, and then CF
was trying to display the defualt cf error ("Error Occurred While Processing
Request, Error Diagnostic Information etc"), but it couldn't find this CF
error template. It was this that was causing the "HTTP/1.0 404 Object Not
Found"

adding <CFINCLUDE TEMPLATE="application.dsn"> to 404.cfm sorted it out, but
still leaves two questions:
1. Why doesn't application.cfm run when the 404.cfm is called as a result of
a missing template?
2. Why can't CF find it own error page when 404.cfm is called as a result of
a missing template?

Are these bugs, or features? or am i missing something?

Bert 

> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
> Sent: 26 July 2000 16:24
> To: [EMAIL PROTECTED]
> Subject: Re: 404.cfm not called when a .cfm file not found
> 
> 
> Remember that the 404 template has to be defined in the admin 
> as the full
> exact path:
> c:\htdocs\cfide\404.cfm
> 
> ----- Original Message -----
> From: "Bert Dawson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 26, 2000 8:19 AM
> Subject: 404.cfm not called when a .cfm file not found
> 
> 
> > I've set the 404 page to be 404.cfm in IIS.
> > This works fine when i enter http://www.my-ip.com/foo.htm
> >
> > but when i enter http://www.my-ip.com/foo.cfm i get the 
> following error:
> >
> > Error Occurred While Processing Request
> > Error Diagnostic Information
> > An error has occurred.
> >
> > HTTP/1.0 404 Object Not Found
> >
> > I've tried setting up error handler templates in CF 
> administrator, but i
> > still get the "HTTP/1.0 404 Object Not Found"
> >
> > Any ideas why this is happening or how to fix it?
> >
> > thanks
> >
> > Bert
> > 
> --------------------------------------------------------------
> ------------
> ----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
> s/cf_talk or
> send a message to [EMAIL PROTECTED] with 
> 'unsubscribe' in
> the body.
> >
> 
> --------------------------------------------------------------
> ----------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to