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
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
christina,
have tried process outlined here:
http://www.bennadel.com/blog/108-using-coldfusion-to-handle-404-errors-page-not-found-on-d evelopment-server.htm
sorry if have, have check!
have tried process outlined here:
http://www.bennadel.com/blog/108-using-coldfusion-to-handle-404-errors-page-not-found-on-d evelopment-server.htm
sorry if have, have check!
More discussions in ColdFusion
adobe
Comments
Post a Comment