I would be interested if anyone knows how to do this on IIS at the server level.
Regards Gordon Lipp Systems Technician Guelph Public Library http://www.library.guelph.on.ca > -----Original Message----- > From: Mike [mailto:[EMAIL PROTECTED]] > Sent: March 26, 2002 9:01 PM > To: [EMAIL PROTECTED] > Subject: Re: [CFTALKTor] Sending to a different folder > depending on the > domain name > > > I am pretty sure this person is on a shared hosting > environment and does not > have access to the IIS admin > ----- Original Message ----- > From: "Blake Crosby" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 26, 2002 7:22 PM > Subject: Re: [CFTALKTor] Sending to a different folder > depending on the > domain name > > > > Why not do it at a server level? I know you can specify > different root > > directories for different hostnames in Apache. Surely you > can do it in > IIS! > > > > Blake > > > > At 07:04 PM 3/26/2002 -0500, you wrote: > > >Hi > > > > > >I have customers with many Domain names pointing to the > same site. I am > > >using an ASP script to direct users to a different folder > for each domain > > >name. I want to know if it is possible to do the same with > Cold Fusion. > > > > > >Here is the ASP script: > > > > > > <% > > > Response.buffer = true > > > > > > IF Request.ServerVariables("SERVER_NAME") = > > > "<http://www.firstdomainname.com>www.firstdomainname.com" then > > > response.redirect "/firstfolder" > > > ElseIF Request.ServerVariables("SERVER_NAME") = > > > "www.seconddomainname.com" then > > > response.redirect "/secondfolder" > > > ElseIF Request.ServerVariables("SERVER_NAME") = > > > "<http://www.thirddomainname.com>www.thirddomainname.com" then > > > response.redirect "/thirdfolder" > > > > > >End If > > > %> > > > > > >Thank you > > > > > >Jean-Pierre Picard > > > > - > > You are subscribed to the CFUGToronto CFTALK ListSRV. > > This message has been posted by: Blake Crosby <[EMAIL PROTECTED]> > > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: "Mike" <[EMAIL PROTECTED]> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net) - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: "Lipp, Gord" <[EMAIL PROTECTED]> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net)
