Richard__Harlan
Mar 22, 2005Historic F5 Account
HTTP Redirect Question
We just installed our new 6400 with ver 9.0.4 when writeing our rules we user to doc LTM guide for GTM and it show doing HTTP redirects like so
when HTTP_REQUEST {
if { [[HTTP::uri] matches_regex "secure"] } {
[HTTP::redirect "https://[HTTP::host][HTTP::uri]"]
}
}
The syntax checker liked the rule just fine, now when someone hit the rule we get an error. On the Forums I see the HTTP redirect writen like
redirect to "https://[HTTP::host][HTTP::uri]"
My question is which am I to use and if the above does not work can it be changes in the docs. THanks
Richard Harlan
John Deere