Jump to content
Welcome to our new Citrix community!

citrix adc app expert rewrite

Ahmed Gala

Recommended Posts

Hello ,


now i have a situation i have 2 virtual servers as example and when the user access the first virtual server there is a report task is done through the first vs web page through a hyper link that redirects implicitly to the second vs and i have no issue with this ,the issue is the is anew client subnet behind a natting firewall i have no issue to access that nat to the but when i access the report page from the hyper link it responds with so i want to replace it with the ip on the firewall when trying to access it from the new client subnet .

how is done through app expert rewrite policy and action ,what are the expressions to be used in policy and action in this case


Link to comment
Share on other sites

I don't fully get, what you want.


What I understand is:
Users connect to, NATted from (so users connect to server has a link to an other server, which is not available from user side, but would be available via So you need to rewrite all <a href=""> into <a href="">


Is this correct?

if it is, you have to create a rewrite action of type REWRITE_ADD, search for in HTTP.RES.BODY(10240) and replace with It's easy. It probably won't work. In case, you must enable HTTP compression and disable server side compression.




Johannes Norz




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...