Forum Discussion
irule to change host and uri from response
Hi Nathan, Thanks for the response but I have achieved same from the below irule by changing the host header and uri when HTTP_REQUEST { if { ([HTTP::host] == "abcd.client.com") and ([HTTP::uri] == "/") } { HTTP::header replace Host "abcd.supplier.com" HTTP::uri "/server can/respond/to/this/uri" pool Pool_supplier } }
I think above iRule and suggested stream will do the same thing, the problem is server is redirecting request to different url and uri for eg. new.supplier.com/new uri which client can see.
Shall I try @abcd.supplier.com/server can/respond/to/this/uri@new.supplier.com/new rui@
please suggest !!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com