Forum Discussion
hooleylist
Jul 28, 2006Cirrostratus
A search for "redirect https" leads to this example:
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
All requests to the VIP will be redirected to HTTPS. If the original request contains a port in the host header field, it will be removed. So a request to:
http://mysite.com:80/index.php
would be redirected to:
https://mysite.com/index.php
I think this functionality will be built into the GUI using HTTP classes in an upcoming release.
Aaron