Hi Scott,

This is the sort of thing I use:

<cfswitch expression="#CGI.SERVER_NAME#">

    <cfcase value="clubguide.020.com">
        <!---start of include header--->
        <cfinclude template="/index_clubguide.cfm">
        <!---end of include header--->
        <cfabort>
    </cfcase>
    
    <cfcase value="www.020.com,020.com">
        <!---start of include header--->
        <cfinclude template="index_02005.cfm">
        <!---end of include header--->
        <cfabort>
    </cfcase>
    
    <cfcase value="www.stuartkidd.com,stuartkidd.com">
        <!---start of include header--->
        <cfinclude template="_fileserver/index_stuartkidd.cfm">
        <!---end of include header--->
        <cfabort>
    </cfcase>
       
    <cfcase value="www.0171.com,0171.com">
        <!---start of include header--->
        <cfinclude template="_fileserver/0171/ezine/index.html">
        <!---end of include header--->
        <cfabort>
    </cfcase>
    
    <cfcase value="www.usefulmaps.com,usefulmaps.com">
        <!---start of include header--->
        <cfinclude template="index_flash_maps.cfm">
        <!---end of include header--->
        <cfabort>
    </cfcase>
    
    <cfdefaultcase>
        <!---start of include header--->
        <cfinclude template="index_02005.cfm">
        <!---end of include header--->
    </cfdefaultcase>

</cfswitch>

----------------------------------------
From: "Scott Stewart" <[EMAIL PROTECTED]>
Sent: Tuesday, January 24, 2006 11:26 AM
To: CF-Talk <cf-talk@houseoffusion.com>
Subject: cgi.referrer 

All, 

I'm having to set up a redirect script in the root of my personal site
(http://www.sstwebworks.com  ). Because I have
several domains pointing at the same site.

I can write it in cf fortunately. Is cgi.referrer the variable to use to
initiate the redirect 

Ie:

 >

 >

 >

Thanks

sas

Scott A. Stewart

Webmaster/Developer

11820 Parklawn Dr

Rockville, MD 20852

(301) 770-9610



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230322
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to