Bert,
When a .cfm page cannot be found, CF sends back its own 404 page. This page
just so happens to have a 200 response header so IIS won't pick up on it as
being not there.
So, you can either:
Set your Missing Template Handler in CF admin to point to your 404.cfm
OR
There is a setting in IIS which forces IIS to check whether a file exists
before passing the request to the CF engine. This will allow you to use the
404 pages as configured within IIS.
HTH
Steve
> -----Original Message-----
> From: Bert Dawson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 26, 2000 13:20
> To: '[EMAIL PROTECTED]'
> 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/cf-talk@houseoffusion.com/
> 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/cf-talk@houseoffusion.com/
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.