For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

20 Replies

  • when HTTP_REQUEST {
    if { ([HTTP::host] eq "boprod") and ([HTTP::uri] eq "/BOE/BI") } {
    HTTP::respond 301 Location "http://boprod:8080/BOE/BI"
    }
    }
    
  • I am using http://boprod/BOE/BI and expect to be redirected to http://boprod:8080/BOE/BI

     

  • You need a vs on port 80 AND a vs on port 8080 to acheive what you appear to want.

     

    The port :80 vs needs to simply have the iRule attached, while the port :8080 would need the pool attached.

     

    To echo Odaah however, I suspect you don't really want to perform an HTTP redirect at all - you just need ONE vs on port 80, with a pool on port :8080.

     

    • Tunde1972_27774's avatar
      Tunde1972_27774
      Icon for Nimbostratus rankNimbostratus

      yes If I can achieve that without an irule that will be fine, I would assume that port translation will fix it but for some strange reason it is not working

       

    • Tunde1972_27774's avatar
      Tunde1972_27774
      Icon for Nimbostratus rankNimbostratus

      my present configuration is as follows VS is listening on port 80 pool members on port 8080

       

      http://boprod/BOE/BI does not work while http://boprod:8080/BOE/BI works, port translation is enabled by default on the VS

       

    • IheartF5_45022's avatar
      IheartF5_45022
      Icon for Nacreous rankNacreous

      Sounds like boprod is resolving to the IP of the server, not the IP of the VS. Check your DNS/hosts file.

       

      Also try to access using IP of the VS directly .