Redirecting URLs at Intermedia.net

2003-09-05 Thread Nick Baker
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

Re: Redirecting URLs at Intermedia.net

2003-09-05 Thread jon hall
!--- If IP address... --- cfif isNumeric(replace(variables.domain, ., , ALL)) No domain found. cfabort /cfif !--- Get actual domain name, ignoring subdomain --- cfif listLen(cgi.http_host,'.') GT 1 cfset variables.domain = mid(cgi.http_host, find('.', cgi.http_host,1),