Can't make custom 404 error page work


running cf server mx 7.02

i have redone site @ q10.ca , have tons of non existant *.cfm pages. after changing default 404 error page in iis, no matter do, cannot rid of default 'error occurred while processing request ' box default cf errors. can 404 custom page non-existant '.htm. pages, not '.cfm' pages. have tried quite few things:

- change settings in adminstration settings cf server
- added code application.cfm:
<cferror type = "exception"
exception = "any"
template = "404.cfm"
mailto = "replies@mparam.com">

<cffunction name="onmissingtemplate" returntype="boolean">
<cfargument type="string" name="targetpage" required=true/>
...
<cfreturn booleanvalue />
</cffunction>

- created application.cfc file same code

all want redirect every error missing page same page , after 3 hours still can't seem accomplish simple task.

regards, chris



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62