Extract
1 TopicMigrating from IIS - URL rewrite issue
Hi, I have a URL rewrite rule in IIS that I need to migrate to F5. That rewrite rule is used by software developper, so I don't know what they are going to include in the HTTP request. The way it works is that the client initiate a connection to https://www.abc.com/URL=www.def.com/ghi In this example, the client ask for https://www.abc.com and F5 needs to initiate a connection to www.def.com and send the answer back to the client. I can't use HTTP::redirect or HTTP::respond as I don't want the client to change URL. I have tried playing with an iRule, but I am not able to achieve my goal. In my example, I am able to manipulate the HTTP::request : when HTTP_REQUEST { set newaddress [getfield [substr [HTTP::uri] 5 end] "/" 1] #Extract the new url address HTTP::uri [string map [list $newaddress "" "/URL=" ""] [HTTP::uri]] #Extract the new URI and assign it to HTTP::uri HTTP::host $newaddress #Assign the new url address } From there, I don't know how to trigger Big-IP to initiate the connection to www.def.com/ghi or if I should use rewrite profile I am running version 13.1.3.3 of Big-IP. Thank you955Views0likes5Comments