As a note on using the CGI.PATH_INFO variable, you can spoof its contents with a URL:
http://my-server/cf.cfm/foo.html CGI.PATH_INFO will be /cf.cfm/foo.html, and cf.cfm will get loaded. I use CGI.SCRIPT_NAME because that always seems to be correct. Kam -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 8:54 AM To: CF-Talk Subject: RE: path variables, like expandpath .. > That gives me the actual server path though. I need the http path.. > :( Why don't you just strip the file name from CGI.PATH_INFO? Or am I missing something? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186104 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