Frank_30524
Apr 16, 2009Nimbostratus
convert irule from 9.x to 4.x
I am relatively new to 4.x and need help converting a redirect irule.
Here is it in version 9.x.
when HTTP_REQUEST {
if { [HTTP::uri] eq "/" and [HTTP::host] eq "www.abc.abc.com" } {
HTTP::redirect "http://www.abc.abc.com:8000/bla/bla"
} else {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
use pool abc-pool
}
}
any help would be appreciated.
Thanks in advanced.