Just force the case before you test it.
<CFSWITCH EXPRESSION="#lcase(CGI.SERVER_NAME)#">
Michael J. Sheldon
Internet Applications Developer
Phone: 480.699.1084
http://www.desertraven.com/
PGP Key Available on Request
-----Original Message-----
From: Todd Ashworth [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 02, 2000 12:17
To: [EMAIL PROTECTED]
Subject: Re: CFLOCATION based on URL?
wow .. that was fast .. thanks
What about case sinsitivity though? Will this same code apply if they type
the domain in all caps?
----- Original Message -----
From: Mike Sheldon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 02, 2000 3:02 PM
Subject: RE: naming databases for datasources
> Use the CGI.SERVER_NAME variable to re-direct.
>
> ie:
>
> <CFSWITCH EXPRESSION="#CGI.SERVER_NAME#">
> <CFCASE VALUE="www.domain1.com">
> <CFLOCATION URL="/domain1dir/index.cfm">
> </CFCASE>
> <CFCASE VALUE="www.domain2.com">
> <CFLOCATION URL="/domain2dir/index.cfm">
> </CFCASE>
> <CFCASE VALUE="www.domain3.com">
> <CFLOCATION URL="/domain3dir/index.cfm">
> </CFCASE>
> </CFSWITCH>
>
> Michael J. Sheldon
> Internet Applications Developer
> Phone: 480.699.1084
> http://www.desertraven.com/
> PGP Key Available on Request
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.