Forum Discussion

san2hosh_306591's avatar
Icon for Nimbostratus rankNimbostratus
Jun 21, 2017

Complex Irule transform to local traffic policy which is with the substring.

I'm trying to convert this below Complex irule to a local traffic policy.I'm facing problem at converting that substring. Can anyone help me.

  elseif { $http_uri starts_with "/servicecenter/servicerequest"} {
     set http_uri_suffix [substr $http_uri 14]
     HTTP::uri "$http_uri_suffix"
     SSL::disable serverside         
     HTTP::redirect "[HTTP::uri]"