> -----Original Message----- > From: Ian Skinner [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2008 11:26 AM > To: CF-Talk > Subject: Re: Missing Template Handler is missing part Duex > > I had originally used the expandPath() function to dynamically get the > web root so it would not matter which server it was on. I guess if it > becomes important enough I will create a switch structure based of > cgi.server or something like that. But at least for now it is working > as desired on the production server.
Not really a solution, but a possible workaround: We had a similar situation (dev, int, qa, dr and prod servers with slightly different settings). We ended up adding environment variables to the boxes with the different information (paths, names, etc) and using the CFREGISTRY tag to fetch the values. The environment variables could be easily changed without a code deploy and the code didn't need needless complications to determine which environment it was running in. Maybe too complex for this problem, but it worked a treat for us. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310534 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4