Roger_78752
Apr 05, 2011Nimbostratus
Split out clients using the Citrix Receiver w/ iRule
We want to use the same url for all our Citrix clients to access our Citrix environment. https://myapps.company.com. This works fine for full browser clients. When a client uses the Citrix Receiver app (ipad, iphone, etc) the app needs to be configured to go to https://myapps.company.com/citrix/mobile/config.xml due to how Citrix works. My preference is for mobile users to also be able to use https://myapps.company.com to simplify user/app setup.
Is the following irule the best way to redirect the receiver clients to the correct URL? I want non receiver clients to continue to go to their requested url of https://myapps.company.com.
when HTTP_REQUEST {
if { [HTTP::header User-Agent] contains "CitrixReceiver" } {
HTTP::redirect "https://myapps.company.com/citrix/mobile/config.xml" }
}
Any help would be appreciated. Thanks!