If I'm not mistaken, you'd only need to redirect requests for the root index page of each domain down to the necessary directory for the domain:
http://abc.com/ --> abc/ http://def.com/ --> def/ Then you'd use nothing but relative references within your pages. You're biggest challenge may be to remember that absolute references such as action="/forms/handler.cfm" won't work at all. Just stay away from referencing the root and you'll be OK. Any references to pages beneath the root directory shouldn't require redirection - user bookmarks, outside links, search engine links, etc. The search engines won't like the redirects, but if they have a starting point within the site itself then the whole site should be spidered. ----- Original Message ----- From: "Les Mizzell" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Saturday, January 29, 2005 12:28 PM Subject: Re: redirect opinions > Jim McAtee wrote: >> Why would anyone do this? Just to save hosting costs? > > ???? Seems so....... > > > So what I end up with is basically: > > MAIN ACCOUNT ROOT DIRECTORY > SUB SITE 1 > SUB SITE 2 > SUB SITE 3 > > Don't ask me! I questionsed the client about this myself... > > >>>So, in the root directory I figure I can just add this to the >>>Application.cfm file to take care of it: >>> >>><CFIF #CGI.SERVER_NAME# CONTAINS "abc.com"> >>> <CFLOCATION URL="whatever/index.cfm"> >>></CFIF> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:192208 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