Jump to content
Welcome to our new Citrix community!

Convert F5 Irule to Citrix Policy


yusuf rifqi

Recommended Posts

Hi , I'm having issue converting this F5 irule to a Citrix Netscaler policy (Rewrite/Responder) :

 

when HTTP_REQUEST {
   # Disable the stream filter for all requests
   STREAM::disable
}
when HTTP_RESPONSE {

   # Check if response type is text 
   if {[HTTP::header value Content-Type] contains "text"}{

      # Replace IP addresses in response content with the string: 10.xxx.xxx.xxx 
      STREAM::expression "@https@http@"

      # Enable the stream filter for this response only
      STREAM::enable
   }
}

 

Can anyone help? Thank You

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...