Forum Discussion

Roysuman_317731's avatar
Roysuman_317731
Icon for Nimbostratus rankNimbostratus
Apr 17, 2017

I-Rule Build

I have newly joined in the network team and want to know what is the concept behind I-rule means logic to build i-rule also i have to build one i-rule for redirection of url Redirect the following Dayton Power & Light URL:

    https://daytonpower.e2.pb.com
  • To the following new URL, provided by DPL:

    https://myprofile.dpandl.com
    
  • Here is simple Irule that redirect the traffic Now I will recommend that you go to F5 University site. Many of the training are free specially the Basic Irule. the F5 University is part of the DEVCENTRAL

     

    when HTTP_REQUEST { change the Vheader to lower case and the URI just case you want to filter by URI set Vuri [ string tolower [HTTP::uri]] set Vheader [string tolower [HTTP::host]] Compare if the data enter by the user is the same what do you want to change. if {$Vheader equals "daytonpower.e2.pb.com"} then { HTTP::redirect ";}

     

    }