This question was asked by one of my students during one of my last NetScaler CNS 207 classes. It should not be a difficult problem.
So what do we need to do?
- rewrite requests to /Citrix/StoreWeb.
- filter on requests without URL specified.
- bind it to the load balancing server.
(there is also a 2nd way using a responder policy, but I preferred the rewrite policy)
The rewrite action:
we locate rewrite policies
First we add an action, so click action and then add.
we create a REPLACE action. We replace the URL (HTTP.REQ.URL) by the store address (“/Citrix/StoreWeb”)
Next thing will be the rewrite policy:
We bind our action and filter on requests with an empty URL (HTTP.REQ.URL.EQ(“/”)).
Finished! Just bind this policy to your load balancing server. It will do the trick for you!
Keep this going please, great job!
Thanks 🙂