Forum Discussion
Jinshu
Cirrus
Dec 11, 2015Is HTTP to HTTPS redirection Secure?
Hi All,
I have configured http to HTTPS redirection in some of the urls but is this secure? The VS blindly forwards all the communications from http to https which can cause man in midle attck r...
Arie
Altostratus
Dec 11, 2015By the way, any particular reason you're using
TCP::respond instead of the more common HTTP::respond?
Using the latter the rule would look like this (some optimization added by removing the variable):
when HTTP_REQUEST {
HTTP::respond 301 Location "https://[HTTP::host][HTTP::uri]"
}