> Is there a variable (maybe a cgi variable) that stores the > root web > path for the current template. For example..
> http://www.domain.com/foo/blah.cfm > I'm looking for a variable with this stored in it: > http://www.domain.com/foo > #CGI.SERVER_NAME##CGI.PATH_INFO# Gets me pretty close > with the > template name at the end.. > -Mike There's not a cgi variable that does it by itself... however, if you apply #getdirectoryfrompath()# to your cgi.path_info variable, that should get you where you want to be: #getdirectoryfrompath(cgi.server_name & cgi.path_info)# hth s. isaac dealey 954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.sys-con.com/story/?storyid=44477&DE=1 http://www.sys-con.com/story/?storyid=45569&DE=1 http://www.fusiontap.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186130 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