It does and it doesn't. The application I am working on is a databased 404 redirect system, and getTemplatePath did not return any value since it was trying to get the path of the 404 handler rather than the actual bad page (which I can get via the CGI variables)..
Pete ----- Original Message ----- From: "Stephen Moretti" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 11:44 AM Subject: Re: How to get directory from full URL? > Check the CF Function list. > > getTemplatePath() will do what you want... > > Stephen > > > ----- Original Message ----- > From: "Pete Ruckelshaus" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Tuesday, October 01, 2002 4:32 PM > Subject: How to get directory from full URL? > > > > I am trying to get a fully resolved directory (i.e. > http://www.mysite.com/this/is/a/directory/) from a fully resolved URL (i.e. > http://www.mysite.com/this/is/a/directory/and_this_is_a_file.cfm) that I am > passing in, but I am having difficulty in finding a simple and elegant way > to do so. > > > > I looked on cflib.org and didn't find any UDF's there...does anyone have a > solution for this? Straight code or a UDF would be great. > > > > Thanks > > > > Pete > > > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

