Forum Discussion

2 Replies

  • iRule redirect can be done like this (and I think that if port is specified it's included in the

    HTTP::host
    variable, so this should work).

    when HTTP_REQUEST {
        if {[string tolower "[HTTP::host][HTTP:path]"] equals "abc.company.com:50032/"} {
            HTTP::respond 302 Location "https://abc.company.com:50012/ajaxmaps-2.8.0"
        }
    }
    
  • Thanks, I'll let you know the results once I done testing it in LAB.