Briefing F5 Knowledge

Which iRule will allow clients referencing www.example….

A new web application is hosted at www.example.net, but some clients are still pointing to the legacy web
application at www.example.com.
Which iRule will allow clients referencing www.example.com to access the new application?

A.
when HTTP_REQUEST {
if {[HTTP::host] equals “www.example.*” }{
HTTP::redirect “http://www.example.net” }
}

B.
when HTTP_REQUEST {
if {[HTTP::host] equals “www.example.com” }{
HTTP::redirect “http://www.example.net” }
}

C.
when HTTP_DATA {
if {[HTTP::host] equals “www.example.*” }{
HTTP::redirect “http://www.example.net” }
}

D.
when HTTP_RESPONSE {
if {[HTTP::host] equals “www.example.com” }{
HTTP::redirect “http://www.example.net” }
}