Steve,

The difference between http and https is the port it is coming in on.  Http 
uses 80 and https uses 443.  You just need to test the port at the top of 
your TAF file and then redirect if it is not 443.

Put this if action in:

<@cgiparam server_port> != 443

Then put this code in:
[BODY>
[script language="JavaScript">
        <!--
        // send original window back to secure page
        window.location = "https://www.eapintl.com<@appfile>?_FUNCTION=<@ARG 
name=_FUNCTION>&<@userreferenceargument>";
        -->
[/script>
[/BODY>

Change the [ for <.

I do this on my server, it is a piece of cake.

Troy Sosamon

===== Original Message from [EMAIL PROTECTED] at 9/25/02 1:45 pm
>Has anyone been able to find the trick to setting up both an SSL and a
>non-SSL server on the same IIS machine under Windows 2000 Server?
>
>All I want to do is to set up a redirect on the non-SSL side of
>http://www.myserver.com to redirect it to https://www.myserver.com. I don't
>have two nic cards so I can't set up two IP addresses. What little
>documentation I did find is that you can't have two host headers when one of
>the is SSL.
>
>I need to find a workable solution.
>
>Thanks,
>
>Steve Smith
>
>Skadt Information Solutions
>Office: (519) 624-4388
>GTA:    (416) 606-3885
>Fax:    (519) 624-3353
>Cell:   (416) 606-3885
>Email:  [EMAIL PROTECTED]
>Web:    http://www.skadt.com
>
>________________________________________________________________________
>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to