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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:228301
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

Reply via email to