The end-user experience is quite important for any type of engineer. I’ve seen some users trying to access a Citrix Environment using the receiver for web portal using their iPhones. It is a habit really, they are just used to bring up a browser, logon and start working…

This is how we take help of the responder feature on the Netscaler to prevent users from doing that and instead make use of the Citrix Receiver App to display something like this when navigating to the receiver for web site:



















In this case I’ll suppose you already have a “Webserver” and an “Error page” in Place and hopefully loadbalanced on your Netscalers.

1. Logon to the Netscaler hosting the access gateway VIP and navigate to AppExpert >Responder>Actions
Create a responder action…

1.1 Give it a name,
1.2 Type : Redirect
1.3 Expression : URL Point to the error web page
1.4 Hit “OK”





2. Now navigate to AppExpert >Responder>Policies
Create a Responder policy…
2.1 Give it a name
2.2 Link the action you just created in section 1
2.3 Set the Undefined-Result action to “NOOP” (No Operation)
2.4 Use the following Expression:

HTTP.REQ.HEADER(“User-Agent”).SET_TEXT_MODE(IGNORECASE).REGEX_MATCH(re/Mobi/) && HTTP.REQ.HEADER(“User-Agent”).CONTAINS(“CitrixReceiver”).NOT && HTTP.REQ.URL.EQ(“/vpn/index.html”) && HTTP.REQ.HEADER(“Referer”).CONTAINS(“mobile.htm”).NOT

3. Finally, just link the responder policy you just created to your AGVIP

That’s it 🙂