Yes, this is the problem:
> cflocation(theURL:'brightWebWorks.com/') cflocation is a tag, not a function. To do the cflocation from within a cfscript block you will need to create a UDF. I.e. <cffunction name="scriptLocation"> <cfargument name="location"> <cfargument name="addToken" required="false" default="false"> <cflocation url="#arguments.location#" addtoken="#arguments.addtoken#"> </cffunction> Then, in your script block: switch(cgi.http_host) { case 'www.brightWebWorks.com': scriptLocation('brightWebWorks.com/'); break; .... } HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303293 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4