I have a certificate on my basketbasics.com account (in that name). I
use a javascript redirect in the root that redirects either
basketbasics.com or www.basketbasics.com and it works okay for me. (See
below) I don't know if how the certificate is installed is a function of
this or not.

<script language="JavaScript">
<!--

s = location.search;

if ( location.hostname.toLowerCase() == "www.basketbasics.com" ) { 
 
        window.location =
"https://BasketBasics.com/BasketBasics/index.html"; + s; 
} else if ( location.hostname.toLowerCase() == "basketbasics.com" ) { 
 
        window.location =
"https://BasketBasics.com/BasketBasics/index.html"; + s; 
 
} else if ( location.hostname.toLowerCase() ==
"www.indiancreekbluegrass.com" ) { 

        window.location =
"http://www.IndianCreekBluegrass.com/IndianCreekBluegrass/index.html"; +
s; 
 
} else if ( location.hostname.toLowerCase() ==
"indiancreekbluegrass.com" ) { 
 
        window.location =
"http://www.IndianCreekBluegrass.com/IndianCreekBluegrass/index.html"; +
s; 

And so on. I have several domain names pointed here and this script
processes all of them in the same manner with an else statement at the
end that is blank, i.e., the webserver serves up the text in the file
holding this code (index.html in the root).

If it's not obvious, the Basketbasics.com redirects right back to the
root again (using the name on the certificate) and the rest takes them
to the proper directory.

 

-----Original Message-----
From: Victor Moore [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 10:15 AM
To: CF-Talk
Subject: SSL Domain redirect without error message

Hi,

I have the following scenario:
site: https://www.xyzdomain.com has a valid SSL certificate if users
type https://xyzdomain.com they get invalid cert error.

What is the best way to do a redirect (from https://xyzdomain.com  to
https://www.xyzdomain.com <https://xyzdomain.com/> )  without getting an
error.
One possible solution (I think) is to have  a redirect file (basically a
js
script) and then pointing the  403.4 message to this file (not tested
yet).
Are there any other solutions?

Thanks
Victor




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275605
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to