I recently moved some Web sites over to Intermedia.net. Hosting multiple domains at Intermedia.net URL's requires the URL's to be of the form "domainname.com/domainname" rather than the standard "domainname.com". Intermedia.net provides a script (shown below) to handle redirecting for the home pages. Unfortunately, when you have a site, like ours at isbc.com, where many have linked to individual pages within the site the script doesn't work for the individual pages.
For example http://www.isbc.com/db/Search.cfm has to be reached using http://www.isbc.com/isbc/db/Search.cfm As there a 100's of Web pages involve, the concept of using an CFIF tag for every pages becomes very inefficient. Anyone know of a script or have any suggestions on how to create a more advanced script that would insert the extra info when it doesn't already exist? Thanks, Nick REDIRECT SCRIPT for Cold Fusion This is an example of default.cfm that will redirect the requests for different domains to appropriate directories. <CFIF FindNoCase("domain1.com","#CGI.SERVER_NAME#") GT 0> <CFLOCATION URL="/directory1"> <CFELSEIF FindNoCase("domain2.com","#CGI.SERVER_NAME#") GT 0> <CFLOCATION URL="/directory2"> <CFELSEIF FindNoCase("domain3.com","#CGI.SERVER_NAME#") GT 0> <CFLOCATION URL="/directory3"> <CFELSE> You came to unknown domain. </CFIF> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com

