Hi Ben

Long time since I played with this... but...

Your server may/is sending back a staus code of 404. Some browsers have 
their own content they display in case of a 404, rather than the content 
you spit back to it. In the past I have needed to force a 200 status 
code back to the client to ensure the browser custom html is not used.

cheers

Drew Peacock

-----Original Message-----
From: bsmith <[EMAIL PROTECTED]>
To: cfaussie <cfaussie@googlegroups.com>
Date: Wed, 01 Aug 2007 22:45:29 -0700
Subject: [cfaussie] Custom 404 / missing template cfm - IIS 404 working, 
CF 404 still returns default

> 
> Hi, just trying to set up a missing template page - anyone got a link
> to a nice howto?
> 
> 
> In case anyone feels like helping me debug, I've set the missing
> template handler to "404.cfm" in the cfide/administrator
> 
> I've set up IIS to point to the file, this gives the desired result -
> when hitting anything other than a .CFM page I see the  custom error
> message I put in 404.cfm.
> 
> But, when hitting ThisFileDoesNotExist.CFM I just get the default CF
> 404 message: "Error Occurred while processing request".
> 
> Any Ideas why this wouldn't be showing the contents of my 404.cfm
> page?
> 
> 
> Some additional info:
> 
> In the "Execution Time" area i can see the desired 404 handler is
> being run:
> "E:\inetpub\sitename\www\404.cfm"
> 
> But I see no output from this file, it looks as if it's just ignored.
> 
> I've also tried adding a cfmail to this file to see if it's only
> output that's affected - doesn't seem to be running at all.
> 
> 
> Thanks, any help appreciated.
> 
> Ben.
> 
> 
> > 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to