I'm assuming you're doing a <cfdirectory action="list"> how does listing the files in a directory help you?
-----Original Message----- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 6:40 PM To: CF-Talk Subject: Re: Multiple IIS sites on Windows XP On 1/3/06, Russ <[EMAIL PROTECTED]> wrote: > I'm a little confused about how this works... what are these variables > request.sslHREF, request.bareHREF, and request.filepath? are these > variables that you use in your application and from that decide what files > to include, or are these some special variables that tell IIS where to load > files from (doesn't seem like that would work...) Here's an example: <cfdirectory directory="#request.FilePath#" Name="myDirectory" Sort="name ASC"> Tells CF where to go in /Application.cfm for something like this and allows the same code to run on multiple servers without alteration. It would also make some sense to use application vars and set them only once if not isdefined, but I kept the example simple. On my stuff I tend to use a lot of absolute URLs. a user could, for example, create a page in a CMS and decide it must be secure, and its posted form data kept same. Or not. Since I have no way of knowing how a user will build their site this introduces the need to be able to plug in a default 'secure' url to prepend to what would otherwise be a relative url in an html menu link, or a form post from that page etc. Likewise I would want someone on that page to switch back to http from https when they move away from the page, so I need to keep a 'bare' version as well. I do the same thing for email servers and addresses for system-generated stuff. I never thought of the stuff Dave brought up. I never use it but I can see where that could be important on some projects. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228309 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

