Handling 404 errors by Coldfusion

2014-07-30 Thread Claude Schnéegans
Hi, I'm havin someting weird hapening on mt CF 9 / Windows Web Server 2008 / IIS 7.5 My site is returning an error 404 status when some requested page does'nt exists. For instance http://myDomain.com/index.cfm?p=pageid=21 return normaly page 21 which exists, but

Re: Handling 404 errors by Coldfusion

2014-07-30 Thread Jon Clausen
Claude, This should be just a setting that needs to be adjusting in IIS: IIS Manager [Site] Error Pages 404 - Uncheck “Insert content from static file in to the error response” and/or reconfigure as fits your need. HTH, Jon On Jul 30, 2014, at 2:49 PM, Claude Schnéegans

Re: Handling 404 errors by Coldfusion

2014-07-30 Thread Claude Schnéegans
IIS Manager [Site] Error Pages 404 - Uncheck “Insert content from static file in to the error response” and/or reconfigure as fits your need. Ok, I've seen that, but the problem is that I still have to give a URL to be executed or Respond with 302 redirect. In fact I just need IIS to do

Re: Handling 404 errors by Coldfusion

2014-07-30 Thread Jon Clausen
You have two options that I can see: 1) Point the static content option to an empty file (not a very good option for your static content 404’s) 2) Remove the 404 handler completely from the Error Pages and use your web.config to handle 404’s for static content and pass through existing