That gives me the actual server path though. I need the http path.. :( -Mike
On Fri, 3 Dec 2004 17:26:01 +0100, Pascal Peters <[EMAIL PROTECTED]> wrote: > GetDirectoryFromPath(GetCurrentTemplatePath()) > > > > > -----Original Message----- > > From: Mike [mailto:[EMAIL PROTECTED] > > Sent: 03 December 2004 16:17 > > To: CF-Talk > > Subject: path variables, like expandpath .. > > > > 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 > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186095 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