RE: Configuring IIS to Handle 404 Errors
I've done something similar to this already, actually. However, for one site in particular, I need to take ColdFusion out of the equation. I need to let the Web server handle 404 errors for that site. It used to be the case that you could simply tick off the "Check that file exists" box and be done with it. However, with the wildcard mapping, this doesn't seem to be the case anymore. To be honest, this is the first time I've noticed the wildcard mapping. I'm a little uneasy with the thought that JRun will be invoked at least at some level for static html pages. That just seems like a huge surface area and a possible source of conflicts. So, at least part of the reason I'm asking at this point is that I'm interested in eliminating the wildcard mapping altogether. Unfortunately, I can't find any documentation on it so I'm not sure why it exists. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 > -Original Message- > From: JediHomer [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 2:33 PM > To: CF-Talk > Subject: Re: Configuring IIS to Handle 404 Errors > > You could potentially code the 404 with a switch/case scenario to do > different things and show different output depending on the host > header (CGI.Server_Name) > > > On Thu, 6 Jan 2005 12:27:47 -0500, Ben Rogers <[EMAIL PROTECTED]> wrote: > > Unfortunately, that won't work for us. We host multiple sites on the > same > > server. The ColdFusion error handler is server wide. > > > > Ben Rogers > > http://www.c4.net > > v.508.240.0051 > > f.508.240.0057 > > > > > -----Original Message- > > > From: JediHomer [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, January 06, 2005 11:37 AM > > > To: CF-Talk > > > Subject: Re: Configuring IIS to Handle 404 Errors > > > > > > THere is an option in the CFAdministrator that lets you set a 404 > > > template. We just use this, then let the template redirect the user > > > to an appropriate page, or alternativly email developers etc. > > > > > > HTH > > > > > > > > > On Thu, 6 Jan 2005 11:25:12 -0500, Ben Rogers <[EMAIL PROTECTED]> wrote: > > > > I'm having trouble configuring IIS to handle 404 errors for > ColdFusion > > > > pages. Enabling the "Check that file exists" option on the .cfm > > > extension > > > > mapping is not enough. > > > > > > > > It appears that ColdFusion (MX 6.1 with Updater) has added a > wildcard > > > > mapping. If I enable "Check that file exists" on that mapping, IIS > traps > > > 404 > > > > errors. > > > > > > > > However, I'm not sure what effect that has. This site in particular > uses > > > > Flash Remoting. I'm a little worried that the wildcard mapping > handles > > > those > > > > types of requests (flashservices/gateway), for instance. > > > > > > > > Does anyone know what the wildcard mapping is used for? Am I going > about > > > > this the wrong way? > > > > > > > > Ben Rogers > > > > http://www.c4.net > > > > v.508.240.0051 > > > > f.508.240.0057 > > > > > > > > > > > > > > > > > > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189905 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Configuring IIS to Handle 404 Errors
You could potentially code the 404 with a switch/case scenario to do different things and show different output depending on the host header (CGI.Server_Name) On Thu, 6 Jan 2005 12:27:47 -0500, Ben Rogers <[EMAIL PROTECTED]> wrote: > Unfortunately, that won't work for us. We host multiple sites on the same > server. The ColdFusion error handler is server wide. > > Ben Rogers > http://www.c4.net > v.508.240.0051 > f.508.240.0057 > > > -Original Message- > > From: JediHomer [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 06, 2005 11:37 AM > > To: CF-Talk > > Subject: Re: Configuring IIS to Handle 404 Errors > > > > THere is an option in the CFAdministrator that lets you set a 404 > > template. We just use this, then let the template redirect the user > > to an appropriate page, or alternativly email developers etc. > > > > HTH > > > > > > On Thu, 6 Jan 2005 11:25:12 -0500, Ben Rogers <[EMAIL PROTECTED]> wrote: > > > I'm having trouble configuring IIS to handle 404 errors for ColdFusion > > > pages. Enabling the "Check that file exists" option on the .cfm > > extension > > > mapping is not enough. > > > > > > It appears that ColdFusion (MX 6.1 with Updater) has added a wildcard > > > mapping. If I enable "Check that file exists" on that mapping, IIS traps > > 404 > > > errors. > > > > > > However, I'm not sure what effect that has. This site in particular uses > > > Flash Remoting. I'm a little worried that the wildcard mapping handles > > those > > > types of requests (flashservices/gateway), for instance. > > > > > > Does anyone know what the wildcard mapping is used for? Am I going about > > > this the wrong way? > > > > > > Ben Rogers > > > http://www.c4.net > > > v.508.240.0051 > > > f.508.240.0057 > > > > > > > > > > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189569 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Configuring IIS to Handle 404 Errors
Unfortunately, that won't work for us. We host multiple sites on the same server. The ColdFusion error handler is server wide. Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 > -Original Message- > From: JediHomer [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 11:37 AM > To: CF-Talk > Subject: Re: Configuring IIS to Handle 404 Errors > > THere is an option in the CFAdministrator that lets you set a 404 > template. We just use this, then let the template redirect the user > to an appropriate page, or alternativly email developers etc. > > HTH > > > On Thu, 6 Jan 2005 11:25:12 -0500, Ben Rogers <[EMAIL PROTECTED]> wrote: > > I'm having trouble configuring IIS to handle 404 errors for ColdFusion > > pages. Enabling the "Check that file exists" option on the .cfm > extension > > mapping is not enough. > > > > It appears that ColdFusion (MX 6.1 with Updater) has added a wildcard > > mapping. If I enable "Check that file exists" on that mapping, IIS traps > 404 > > errors. > > > > However, I'm not sure what effect that has. This site in particular uses > > Flash Remoting. I'm a little worried that the wildcard mapping handles > those > > types of requests (flashservices/gateway), for instance. > > > > Does anyone know what the wildcard mapping is used for? Am I going about > > this the wrong way? > > > > Ben Rogers > > http://www.c4.net > > v.508.240.0051 > > f.508.240.0057 > > > > > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189545 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Configuring IIS to Handle 404 Errors
THere is an option in the CFAdministrator that lets you set a 404 template. We just use this, then let the template redirect the user to an appropriate page, or alternativly email developers etc. HTH On Thu, 6 Jan 2005 11:25:12 -0500, Ben Rogers <[EMAIL PROTECTED]> wrote: > I'm having trouble configuring IIS to handle 404 errors for ColdFusion > pages. Enabling the "Check that file exists" option on the .cfm extension > mapping is not enough. > > It appears that ColdFusion (MX 6.1 with Updater) has added a wildcard > mapping. If I enable "Check that file exists" on that mapping, IIS traps 404 > errors. > > However, I'm not sure what effect that has. This site in particular uses > Flash Remoting. I'm a little worried that the wildcard mapping handles those > types of requests (flashservices/gateway), for instance. > > Does anyone know what the wildcard mapping is used for? Am I going about > this the wrong way? > > Ben Rogers > http://www.c4.net > v.508.240.0051 > f.508.240.0057 > > ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189532 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54