Forum Discussion
youssef1
Jan 18, 2017Cumulonimbus
Hi Aguinas,
I think what you want to do is quite simple, especially as a profile exists for this purpose. You can use a rewrite profile.
Can you please confirm me that you want to process rewrite only in response... If not you have to implement an irule for the request.
Procedure: Local Traffic --> Profiles --> Services --> Rewrites.
You set Rewrite mode: URI Translation In URI Rules you set as following:
1 - Rule type: Response
Client URI: http://www.xyz.com
Server URI: http://www.abc1.com/asdf/hello.dll
2 - Rule type: Response
Client URI: http://www.xyz.com
Server URI: http://www.abc2.com/asdf/hello.dll
Don't forget to attach your profile to your VS.
Regards