Jason -

Thanks but I need it to be more than just the server name. I need it to figure 
out where it is even if it's a few directories down from the root. In the end, 
what I decided to do what move my logic out of the init code for 
application.cfc and into the OnApplicationStart code where I have access to the 
CGI structure. I then do this:

application.rootURLPath = GetDirectoryFromPath(CGI.SCRIPT_NAME);

It seems to work so far. Curious if anyone sees any gotchas.

Thanks,
Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334394
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to