siddhesh_137522
Feb 14, 2014Nimbostratus
How to rewrite HTTP payload using Irule
Hello Team,
I have simple requirement that i need to rewrite HTTP payload whenever a request if genrated for opening a document.
For ex:- The below link and chracter which is made bold shoudl be replaced when request land on server https://abc.com/xyz/123xcv/1401300147/InfoView/listing/main.do?service=/common/appService.do&appKind=InfoView&isNewWindow=true&newUrl=https%3A%2F%2Fabc.com%2Fxyz%2F123xcv%
I need to replace the trailing https%3A%2F%2Fabc.com% with http://xyz.com:8080/...
I tried above with stream profile but not able to get any sucess..
Helpful if someone can put light on the above rewriting..
Regards Siddhesh