wctwf_78814
Feb 09, 2009Nimbostratus
Validation of iRule HTTPS::REDIRECT
Totally blank on the scripting side of things so here is the scenario for which iRule needs to be written. Looking for some insight here as to what's the logic to apply here.
Situation Given:
----------------
website: www.ensynch.com
Create iRule: HTTPS REDIRECT the above website to https://www.ensynch.com/test/
Below is what I came up with base on published solution on the forum as the sample iRules:
rule company.com_https_redirect {
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]" }
}
WOULD LIKE TO KNOW IF THERE IS ANYTHING WRONG WITH THE above created iRule or syntax or logic.
Appreciate your input as I am still trying to get around the various syntax & TCL tit bits.
WCTWF