ok I thought I saw him say earlier on he was using url rewrite, maybe I was mistaken
On Tue, Feb 10, 2015 at 1:30 AM, Matt Robertson <[email protected]> wrote: > > Url rewrite in IIS may not even be involved here, and need not be. Prior > to win2k8 the standard way to handle Cf 404 and 'fakeURL' 404's was to tell > IIS not to 'check to see if file exists' in the .cfm mapping. From there > CF server's 404 handler did whatever you wanted it to. To retain the same > capability with dynamic urls i had to jump thru the hoops described above > in win2k8. Current method of individual site 404 handlers is a pain but > more flexible. > > On Monday, February 9, 2015, Russ Michaels <[email protected]> wrote: > > > > > I deal with many sites that have non existent pages which use URL REWRITE > > to redirect them. > > The usual reason is that the url rewrite rules are not working, or even > > that the url rewrite module is not installed. > > Have you tried a very simple rule to test of that is working ok ? > > > > > > On Mon, Feb 9, 2015 at 9:47 PM, Mark Spence <[email protected] > > <javascript:;>> wrote: > > > > > > > > Matt, > > > Thank you for the link. I am working through the first step below: > > > > > > *Step 1:* > > > Configure a Missing Template Handler in CF Administrator. Mine is > global > > to > > > the server and kept in the ColdFusion webroot - which is separate from > > the > > > IIS web root and whose default location is c:\ColdFusion9\wwwroot. This > > > global template is 404handler.cfm and contains the following simple > code, > > > which you can expand upon: > > > > > > <h1>404</h1><p>Page Not Found</p><cfheader > > > statuscode="404" > > > statustext="Not Found"> > > > > > > At this point, visit your web site and execute a bad ColdFusion url: > > > *http://[domain]/bogus.cfm*. You will see both the IIS remote error > > > screen/banner followed by your ColdFusion error screen. Check the > header > > > and it is a 404. This next step will solve the dual display problem. > > > > > > > > > When I visit the bogus page, I still just get the standard detailed iis > > 404 > > > page, without the cf page that I created. I have tried it both with > and > > > without the "Enable HTTP status codes". I can't figure out what I am > > doing > > > wrong. This is on a windows 8 machine. Any ideas? Thank you for the > > > help. > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360099 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

