View all questions & answers for the 301b exam
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?
when HTTP_REQUEST {
if {[HTTP::host] equals "www.example.*" }{
HTTP::redirect "http://www.example.net" }
}
if {[HTTP::host] equals "www.example.com" }{
when HTTP_DATA {
when HTTP_RESPONSE {
Submit