Forum Discussion

pedinopa_170325's avatar
pedinopa_170325
Icon for Nimbostratus rankNimbostratus
Mar 19, 2016

irule redirect based on IP

I am writing an irule that will take in a HTTP::Path and HTTP::uri in the following format /

 

6 Replies

  • My mistake the incoming HTTP::path will be a VIP and the URI will start with a value (three digit number) which will be used in the redirection string. so the incomining request will be /number>/
  • if you want help, make sure the question is readable. please rewrite all the question and the comment by using "how to format".
  • . I want to take in a HTTPS request and based on the URI manipulate it and redirect to a http address built from the irule. I am thinking something like this ORIGIONAL HTTPS REQUEST https:///<3 digit number>/
  • I want to take in a HTTPS request and based on the URI manipulate it and redirect to a http address built from the irule. I am thinking something like this

     

    ORIGIONAL HTTPS REQUEST https:///

     

    • pedinopa_170325's avatar
      pedinopa_170325
      Icon for Nimbostratus rankNimbostratus
      I think I figured it out. I used the string range command. I found how to do it without using the ip