I still don't understand what this code is actually doing... do you later say something like
<cfinclude template="#request.FilePath#/#CGI.SCRIPT_NAME#"> -----Original Message----- From: Snake [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 7:11 PM To: CF-Talk Subject: RE: Multiple IIS sites on Windows XP Well some developers like hard coding paths like he has done below, which means the code has to be changed if it is ever moved to a new host. Whereas your more experienced developers tend to use ExpandPath() to dynamically calucate paths so that the code works anywhere without being changed. Snake -----Original Message----- From: Russ [mailto:[EMAIL PROTECTED] Sent: 03 January 2006 22:51 To: CF-Talk Subject: RE: Multiple IIS sites on Windows XP 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...) -----Original Message----- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 5:38 PM To: CF-Talk Subject: Re: Multiple IIS sites on Windows XP This is going to be a stupid question I guess, but why would anyone need this utility? I set up IIS and I get one web site. Fine. I also write code that has, within /Application.cfm, something like this: <cfscript> if ((not CompareNoCase(cgi.Server_Name,"localhost"))) { request.SSLHRef="http://localhost/foohbar/"; request.BareHRef="http://localhost/foohbar/"; request.FilePath="c:/inetpub/wwwroot/foohbar/"; } else { request.SSLHRef="https://secure.foohbar,com/"; request.BareHRef="http://foohbar.com/"; request.FilePath="z:/somewhere/else/"; } </cfscript> I almost never use cookie-scope vars, but for those who do suppose I can see why you might want to be able to examine a 'clean' cookie not affected by stuff from another project. But as they go this has always given me seamless operation between dev and live web servers. Given that, this utility seems to be a solution looking for a problem. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228313 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

