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") = "www.firstdomainname.com" then
 response.redirect "/firstfolder"
 ElseIF  Request.ServerVariables("SERVER_NAME") = "www.seconddomainname.com" then
 response.redirect "/secondfolder"
 ElseIF  Request.ServerVariables("SERVER_NAME") = "www.thirddomainname.com" then
 response.redirect "/thirdfolder"
 
End If
 %>
 
Thank you
 
Jean-Pierre Picard

Reply via email to