How to redirect from http to https ?
Friday Aug 01, 2008
In web 7.0, you can have the new feature to handle protocol mistmatch, see below:

This will help any user who may enter , e.g. http://www.abc.com:443 to the proper protocol https://www.abc.com:443 .
This feature is not something you can do in 6.1SPx.
In 6.1SPx, the most is you set up two LS, e.g. port 80 and port 443,
then in obj.conf,
<Client security="false">
NameTrans fn="redirect" from="/" url-prefix="https://apple.asia.sun.com:443/"
</Client>
then when a request to http://apple.asia.sun.com:80 comes in, the obj.conf above will match security="false". Then a redirect to https://apple.asia.sun.com:443 in the user browser.
But any request to http://apple.asia.sun.com:443 will not be processed properly in 6.1 because of protocol mismatch.










